| Modifier and Type | Field and Description |
|---|---|
| public static final IOFileFilter | INSTANCE
Singleton instance of true filter. |
| public static final IOFileFilter | TRUE
Singleton instance of true filter. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: truethe file to check file)Implements org. |
| public boolean | Returns: truethe directory to check dir, String the filename name)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final IOFileFilter INSTANCE 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 | back to summary |
|---|---|
| public static final IOFileFilter TRUE Singleton instance of true filter.
| |
| TrueFileFilter | back to summary |
|---|---|
| protected TrueFileFilter() Restrictive consructor. | |
| accept | back to summary |
|---|---|
| public boolean accept(File file) Implements org. Returns true.
| |
| accept | back to summary |
|---|---|
| public boolean accept(File dir, String name) Implements org. Returns true. | |