org.ikasan.connector.basefiletransfer.net
Class ClientSymLinkFilter

java.lang.Object
  extended by org.ikasan.connector.basefiletransfer.net.ClientSymLinkFilter
All Implemented Interfaces:
ClientFilter

public class ClientSymLinkFilter
extends java.lang.Object
implements ClientFilter

Symbolic Link filter

Author:
Ikasan Development Team

Constructor Summary
ClientSymLinkFilter()
          Constructor
 
Method Summary
 java.util.List<ClientListEntry> filter(java.util.List<ClientListEntry> entries)
          Method to filter out unmatched ClientListEntry objects from a List.
 boolean match(ClientListEntry entry)
          Method to match ClientListEntry objects based on whether they represent symbolic links or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientSymLinkFilter

public ClientSymLinkFilter()
Constructor

Method Detail

match

public boolean match(ClientListEntry entry)
Method to match ClientListEntry objects based on whether they represent symbolic links or not.

Specified by:
match in interface ClientFilter
Parameters:
entry - The ClientListEntry to match.
Returns:
true if ClientListEntry is a symbolic link, false otherwise.

filter

public java.util.List<ClientListEntry> filter(java.util.List<ClientListEntry> entries)
Method to filter out unmatched ClientListEntry objects from a List.

Specified by:
filter in interface ClientFilter
Parameters:
entries - The List of ClientListEntries to filter.
Returns:
A List of all ClientListEntries matching the Filter's criteria.


Copyright © 2007-2010 Ikasan. All Rights Reserved.