Package jadex.commons
Class FileFilter
- java.lang.Object
-
- jadex.commons.FileFilter
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileFilter
addFilenameFilter(IFilter<java.lang.String> filter)
Add a filename filterboolean
filter(java.lang.Object obj)
Filter impl.
-
-
-
Field Detail
-
filters
protected java.util.List<IFilter<java.lang.String>> filters
The filename filters.
-
-
Constructor Detail
-
FileFilter
public FileFilter(java.lang.String filename, boolean contains)
Create a new file filter.
-
FileFilter
public FileFilter(java.lang.String suffix)
Create a new file filter.
-
FileFilter
public FileFilter(java.lang.String filename, boolean contains, java.lang.String suffix)
Create a new file filter.
-
-
Method Detail
-
addFilenameFilter
public FileFilter addFilenameFilter(IFilter<java.lang.String> filter)
Add a filename filter- Parameters:
filter
- The filter to add.- Returns:
- This filter (builder pattern).
-
-