Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext
Class ModeFileFilter  view ModeFileFilter download ModeFileFilter.java

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byorg.jext.ModeFileFilter

public class ModeFileFilter
extends javax.swing.filechooser.FileFilter

ModeFileFilter is a file filter specific to a given syntax colorizing mode.


Field Summary
private  java.lang.String description
           
private  java.lang.String modeName
           
private  gnu.regexp.RE regexp
           
 
Constructor Summary
ModeFileFilter(Mode mode)
          Creates a new file filter for given syntax colorizing mode.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regexp

private gnu.regexp.RE regexp

modeName

private java.lang.String modeName

description

private java.lang.String description
Constructor Detail

ModeFileFilter

public ModeFileFilter(Mode mode)
Creates a new file filter for given syntax colorizing mode.

Method Detail

getModeName

public java.lang.String getModeName()
Returns Jext internal mode name of the mode used to build this file filter.


accept

public boolean accept(java.io.File file)
If given file is correctly named, it is accepted by the file filter.


getDescription

public java.lang.String getDescription()
Returns a simple description of the file filter.


finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001