net.grelf.grip
Class FileIO_HTMLFilter
java.lang.Object
javax.swing.filechooser.FileFilter
net.grelf.grip.FileIO_HTMLFilter
public class FileIO_HTMLFilter
- extends javax.swing.filechooser.FileFilter
Field Summary |
static int |
ANY
|
static int |
HTML
|
Method Summary |
boolean |
accept(java.io.File f)
Whether the filter can accept the given file. |
java.lang.String |
getDescription()
Get a concise description of what the filter can accept. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY
public static final int ANY
- See Also:
- Constant Field Values
HTML
public static final int HTML
- See Also:
- Constant Field Values
FileIO_HTMLFilter
public FileIO_HTMLFilter()
FileIO_HTMLFilter
public FileIO_HTMLFilter(int aKind)
accept
public boolean accept(java.io.File f)
- Whether the filter can accept the given file.
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Get a concise description of what the filter can accept.
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter