ix.util.xml
Class XMLFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--ix.util.xml.XMLFileFilter

public class XMLFileFilter
extends javax.swing.filechooser.FileFilter

A FileFilter that accepts only file types that indicate that the file contains XML. At present, this is only ".xml".


Constructor Summary
XMLFileFilter()
           
 
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
 

Constructor Detail

XMLFileFilter

public XMLFileFilter()
Method Detail

getDescription

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

accept

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