nl.liacs.subdisc
Class FileTypeFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by nl.liacs.subdisc.FileTypeFilter

public class FileTypeFilter
extends javax.swing.filechooser.FileFilter


Constructor Summary
FileTypeFilter(FileType theFileType)
          This class will change and return an instance of the FileNameExtension class, based on the FileType.
 
Method Summary
 boolean accept(java.io.File theFile)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTypeFilter

public FileTypeFilter(FileType theFileType)
This class will change and return an instance of the FileNameExtension class, based on the FileType.

Parameters:
theFileType -
Method Detail

accept

public boolean accept(java.io.File theFile)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

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