org.brains2b.file
Class PostFixFilter
java.lang.Object
javax.swing.filechooser.FileFilter
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostFixFilter
public PostFixFilter(java.lang.String pattern,
java.lang.String description)
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()