Home / Development / Documentation / 2.0.44 / AbstractXMLFilter
TreeGraph 2
 


info.bioinfweb.treegraph.document.io
Class AbstractXMLFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by info.bioinfweb.treegraph.document.io.AbstractFilter
          extended by info.bioinfweb.treegraph.document.io.AbstractXMLFilter
All Implemented Interfaces:
DocumentFilter, FileFilter
Direct Known Subclasses:
PhyloXMLFilter, XTGFilter

public abstract class AbstractXMLFilter
extends AbstractFilter

Since:
2.0.35
Author:
Ben Stöver

Field Summary
private  String rootName
           
static String XML_EXTENSION
           
 
Constructor Summary
AbstractXMLFilter(String rootName)
           
 
Method Summary
 boolean accept(File f)
           
 
Methods inherited from class javax.swing.filechooser.FileFilter
getDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.bioinfweb.treegraph.document.io.DocumentFilter
getDefaultExtension, getDescription, validExtension
 

Field Detail

XML_EXTENSION

public static final String XML_EXTENSION
See Also:
Constant Field Values

rootName

private String rootName
Constructor Detail

AbstractXMLFilter

public AbstractXMLFilter(String rootName)
Method Detail

accept

public boolean accept(File f)
Specified by:
accept in interface DocumentFilter
Specified by:
accept in interface FileFilter
Overrides:
accept in class AbstractFilter