public class ModeFileFilter
extends javax.swing.filechooser.FileFilter
ModeFileFilter
is a file filter specific to a given
syntax colorizing mode.Constructor and Description |
---|
ModeFileFilter(Mode mode)
Creates a new file filter for given syntax colorizing mode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
If given file is correctly named, it is accepted by the
file filter.
|
protected void |
finalize()
Patch
-> Memory management improvements : it may help the garbage collector.
|
java.lang.String |
getDescription()
Returns a simple description of the file filter.
|
java.lang.String |
getModeName()
Returns Jext internal mode name of the mode used to
build this file filter.
|
public ModeFileFilter(Mode mode)
mode
- The syntax colorizing mode which gives file filters infospublic java.lang.String getModeName()
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright ? 2002 Romain Guy.