cz.zcu.fav.kiv.editor.graphics.utils
Class XmlFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by cz.zcu.fav.kiv.editor.graphics.utils.XmlFilter

public class XmlFilter
extends javax.swing.filechooser.FileFilter

The XmlFilter class is used for showing only XML files in the directory listing of a JFileChooser.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Field Summary
static java.lang.String xml
          The xml extension
 
Constructor Summary
XmlFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xml

public static final java.lang.String xml
The xml extension

See Also:
Constant Field Values
Constructor Detail

XmlFilter

public XmlFilter()
Method Detail

accept

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

getDescription

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