de.saar.chorus.ubench.gui
Class CommandListener.XMLFilter

Object
  extended by FileFilter
      extended by CommandListener.XMLFilter
Enclosing class:
CommandListener

public class CommandListener.XMLFilter
extends FileFilter

A FileFilter that accepts files with *.xml-extension.

Author:
Michaela Regneri

Constructor Summary
CommandListener.XMLFilter()
           
 
Method Summary
 boolean accept(File f)
          Overwrites the accept method of Filefilter.
 String getDescription()
          Overwrites the getDescription method of FileFilter.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandListener.XMLFilter

public CommandListener.XMLFilter()
Method Detail

accept

public boolean accept(File f)
Overwrites the accept method of Filefilter.

Specified by:
accept in class FileFilter
Returns:
true if the file has an xml extension

getDescription

public String getDescription()
Overwrites the getDescription method of FileFilter.

Specified by:
getDescription in class FileFilter
Returns:
just "XML"