public class DirectoryFilter
extends javax.swing.filechooser.FileFilter
| Constructor and Description |
|---|
DirectoryFilter(java.lang.String descr)
Create a DirectoryFilter with the specified description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f)
Whether the given file is accepted by this filter.
|
java.lang.String |
getDescription()
The description of this filter.
|
public DirectoryFilter(java.lang.String descr)
descr - localized description Stringpublic boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter