|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.connector.basefiletransfer.net.ClientFilenameFilter
public class ClientFilenameFilter
| Constructor Summary | |
|---|---|
ClientFilenameFilter(java.lang.String patternString)
Constructor |
|
| Method Summary | |
|---|---|
java.util.List<ClientListEntry> |
filter(java.util.List<ClientListEntry> entries)
Method to filter out unmatched ClientListEntry objects
from an List. |
java.util.List<java.lang.String> |
filter(java.lang.String[] entries)
Utility method for filtering local directories as returned by dir.list() |
boolean |
match(ClientListEntry entry)
Method to match ClientListEntry objects based on
whether they the regular expression provided when the object is
instantiated. |
boolean |
match(java.lang.String entry)
Return true if the entry matches the pattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientFilenameFilter(java.lang.String patternString)
patternString - The filename pattern to match. This could be any
regular expression. Some examples are:
| Method Detail |
|---|
public boolean match(ClientListEntry entry)
ClientListEntry objects based on
whether they the regular expression provided when the object is
instantiated.
match in interface ClientFilterentry - The ClientListEntry to match.
true if ClientListEntry's filename
matches the pattern, false otherwise.public boolean match(java.lang.String entry)
entry -
public java.util.List<ClientListEntry> filter(java.util.List<ClientListEntry> entries)
ClientListEntry objects
from an List.
filter in interface ClientFilterentries - The List of ClientListEntries
to filter.
AList of all ClientListEntries
matching this filter's criteriapublic java.util.List<java.lang.String> filter(java.lang.String[] entries)
entries -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||