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

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

public class XslFilter
extends javax.swing.filechooser.FileFilter

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

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Field Summary
static java.lang.String xsl
          The xsl extension
 
Constructor Summary
XslFilter()
           
 
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

xsl

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

See Also:
Constant Field Values
Constructor Detail

XslFilter

public XslFilter()
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