java.io
public interface: FilenameFilter [javadoc |
source]
All Known Implementing Classes:
Instances of classes that implement this interface are used to
filter filenames. These instances are used to filter directory
listings in the
list method of class
File, and by the Abstract Window Toolkit's file
dialog component.
Also see:
- java.awt.FileDialog#setFilenameFilter(java.io.FilenameFilter)
- java.io.File
- java.io.File#list(java.io.FilenameFilter)
- author:
Arthur - van Hoff
- author:
Jonathan - Payne
- since:
JDK1.0 -
| Method from java.io.FilenameFilter Summary: |
|---|
|
accept |
| Method from java.io.FilenameFilter Detail: |
public boolean accept(File dir,
String name)
Tests if a specified file should be included in a file list. |