org.brains2b.file
Class PostFixFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.brains2b.file.PostFixFilter
All Implemented Interfaces:
java.io.FileFilter

public class PostFixFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter

Implementation of the abstract FileFilter class

This implementation only looks at the postfix of a file and will accept any files which match the postfix. or is a directory

Version:
0.10 [Oct 5, 2003]
Author:
dennis@brains2b.nl

Constructor Summary
PostFixFilter(java.lang.String pattern, java.lang.String description)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 java.lang.String getExtention()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostFixFilter

public PostFixFilter(java.lang.String pattern,
                     java.lang.String description)
Method Detail

accept

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

getDescription

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

getExtention

public java.lang.String getExtention()