jAER project on SourceForge

net.sf.jaer.util
Class XMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by net.sf.jaer.util.XMLFileFilter

public class XMLFileFilter
extends javax.swing.filechooser.FileFilter

filter for XML (preferences) files.

Author:
tobi

Field Summary
static java.lang.String EXTENSION
          The extension, including the dot, ".xml"
 
Constructor Summary
XMLFileFilter()
          Creates a new instance of XMLFileFilter
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
static java.lang.String getExtension(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION

public static final java.lang.String EXTENSION
The extension, including the dot, ".xml"

See Also:
Constant Field Values
Constructor Detail

XMLFileFilter

public XMLFileFilter()
Creates a new instance of XMLFileFilter

Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getExtension

public static java.lang.String getExtension(java.io.File f)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

jAER project on SourceForge