Note that a subclass must override one of the accept methods, otherwise your class will infinitely loop.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this file matches the testthe File to check file)Implements org. |
| public boolean | Returns: true if this file matches the testthe directory File to check dir, String the filename within the directory to check name)Implements org. |
| AbstractFileFilter | back to summary |
|---|---|
| public AbstractFileFilter() | |
| accept | back to summary |
|---|---|
| public boolean accept(File file) Implements org. Checks to see if the File should be accepted by this filter.
| |
| accept | back to summary |
|---|---|
| public boolean accept(File dir, String name) Implements org. Checks to see if the File should be accepted by this filter. | |