org.apache.commons.io.filefilter
public class TrueFileFilter extends Object implements IOFileFilter, Serializable
Since: Commons IO 1.0
Version: $Revision: 587978 $ $Date: 2007-10-24 20:36:51 +0100 (Wed, 24 Oct 2007) $
Field Summary | |
---|---|
static IOFileFilter | INSTANCE
Singleton instance of true filter.
|
static IOFileFilter | TRUE
Singleton instance of true filter. |
Constructor Summary | |
---|---|
protected | TrueFileFilter()
Restrictive consructor. |
Method Summary | |
---|---|
boolean | accept(File file)
Returns true.
|
boolean | accept(File dir, String name)
Returns true.
|
Since: Commons IO 1.3
Parameters: file the file to check
Returns: true
Parameters: dir the directory to check name the filename
Returns: true