cs4099
Class FileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by cs4099.FileFilter

public class FileFilter
extends javax.swing.filechooser.FileFilter

This class is a file filter for XML specification files.

Author:
David Newton

Constructor Summary
FileFilter()
          Constructor (blank)
 
Method Summary
 boolean accept(java.io.File f)
          Determines whether a file should pass the file filter or not.
 java.lang.String getDescription()
          Returns a description of this file filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFilter

public FileFilter()
Constructor (blank)

Method Detail

accept

public boolean accept(java.io.File f)
Determines whether a file should pass the file filter or not.

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Returns a description of this file filter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter