| java.lang.Object org.apache.commons.io.filefilter.TrueFileFilter
TrueFileFilter | public class TrueFileFilter implements IOFileFilter(Code) | | A file filter that always returns true.
since: Commons IO 1.0 version: $Revision: 471628 $ $Date: 2006-11-06 05:06:45 +0100 (Mo, 06 Nov 2006) $ author: Stephen Colebourne |
Constructor Summary | |
protected | TrueFileFilter() Restrictive consructor. |
INSTANCE | final public static IOFileFilter INSTANCE(Code) | | Singleton instance of true filter.
Please use the identical TrueFileFilter.TRUE constant.
The new name is more JDK 1.5 friendly as it doesn't clash with other
values when using static imports.
|
TRUE | final public static IOFileFilter TRUE(Code) | | Singleton instance of true filter.
since: Commons IO 1.3 |
TrueFileFilter | protected TrueFileFilter()(Code) | | Restrictive consructor.
|
accept | public boolean accept(File file)(Code) | | Returns true.
Parameters: file - the file to check true |
accept | public boolean accept(File dir, String name)(Code) | | Returns true.
Parameters: dir - the directory to check Parameters: name - the filename true |
|
|