com.evanmclean.evlib.swing.filechooser
Class FolderFilter
java.lang.Object
javax.swing.filechooser.FileFilter
com.evanmclean.evlib.swing.filechooser.FolderFilter
public class FolderFilter
- extends FileFilter
File filter for the JFileChooser that only accepts folders.
- Author:
- Evan McLean McLean Computer Services (see the
overview for copyright and licensing.)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FolderFilter
public FolderFilter()
FolderFilter
public FolderFilter(String description)
accept
public boolean accept(File file)
- Specified by:
accept
in class FileFilter
getDescription
public String getDescription()
- Specified by:
getDescription
in class FileFilter