ix.util.xml
Class SyntaxFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ix.util.xml.SyntaxFileFilter
public class SyntaxFileFilter
- extends javax.swing.filechooser.FileFilter
A FileFilter for FileSyntax
es. The filter accepts only
the file types handled by a specified FileSyntax
or else
all of the types handled by any of the syntaxes that can deal
with objects of a specified class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
protected java.lang.String description
extensions
protected java.util.Collection extensions
SyntaxFileFilter
public SyntaxFileFilter(java.lang.Class objectClass,
java.util.Collection extensions)
SyntaxFileFilter
public SyntaxFileFilter(FileSyntax syntax)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter