com.japisoft.xmlpad
Class XMLDocumentFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--com.japisoft.xmlpad.XMLDocumentFileFilter

public class XMLDocumentFileFilter
extends javax.swing.filechooser.FileFilter

Here a file filter

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
XMLDocumentFileFilter(java.lang.String name, java.lang.String type, java.lang.String[] fileExts, java.lang.String def)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocumentFileFilter

public XMLDocumentFileFilter(java.lang.String name,
                             java.lang.String type,
                             java.lang.String[] fileExts,
                             java.lang.String def)
Method Detail

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

getType

public java.lang.String getType()