Modifier and Type | Field and Description |
---|---|
protected java.util.List<IFilter<java.lang.String>> |
filters
The filename filters.
|
Constructor and Description |
---|
FileFilter(java.lang.String suffix)
Create a new file filter.
|
FileFilter(java.lang.String filename,
boolean contains)
Create a new file filter.
|
FileFilter(java.lang.String filename,
boolean contains,
java.lang.String suffix)
Create a new file filter.
|
Modifier and Type | Method and Description |
---|---|
FileFilter |
addFilenameFilter(IFilter<java.lang.String> filter)
Add a filename filter
|
boolean |
filter(java.lang.Object obj)
Filter impl.
|
protected java.util.List<IFilter<java.lang.String>> filters
public FileFilter(java.lang.String filename, boolean contains)
public FileFilter(java.lang.String suffix)
public FileFilter(java.lang.String filename, boolean contains, java.lang.String suffix)
public FileFilter addFilenameFilter(IFilter<java.lang.String> filter)
filter
- The filter to add.