ini.trakem2.io
Class XMLFileFilter

java.lang.Object
  extended by ini.trakem2.io.XMLFileFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class XMLFileFilter
extends java.lang.Object
implements java.io.FilenameFilter

Accepts .dtd and/or .xml extensions.


Field Summary
static int BOTH
           
static int DTD
           
static int XML
           
 
Constructor Summary
XMLFileFilter(int ext)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTD

public static final int DTD
See Also:
Constant Field Values

XML

public static final int XML
See Also:
Constant Field Values

BOTH

public static final int BOTH
See Also:
Constant Field Values
Constructor Detail

XMLFileFilter

public XMLFileFilter(int ext)
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter