bb.io.filefilter
Class DirectoryFilter
java.lang.Object
javax.swing.filechooser.FileFilter
bb.io.filefilter.BaseFilter
bb.io.filefilter.DirectoryFilter
- All Implemented Interfaces:
- FileFilter
public class DirectoryFilter
- extends BaseFilter
File filter that accepts directories.
Specificly, this file filter accepts every directory.
Normal files and other file system elements are always rejected.
This class is multithread safe: it is immutable.
In particular, it has no listener (see the ancestor class
javadocs for more discussion).
- Author:
- Brent Boyer
Constructor Summary |
DirectoryFilter()
Constructs a new DirectoryFilter instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryFilter
public DirectoryFilter()
- Constructs a new DirectoryFilter instance.
getDescription
public String getDescription()
- Description copied from class:
BaseFilter
-
- Specified by:
getDescription
in class BaseFilter