mauda.utils
Class XMLFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by mauda.utils.SuffixAwareFilter
          extended by mauda.utils.XMLFilter

public class XMLFilter
extends SuffixAwareFilter

Filter for xml-files used in filechooser.

Author:
Markus Krebs

Constructor Summary
XMLFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class mauda.utils.SuffixAwareFilter
getSuffix
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFilter

public XMLFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Overrides:
accept in class SuffixAwareFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter