org.shiftone.jrat.util.io
Class GlobFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.shiftone.jrat.util.io.GlobFileFilter
All Implemented Interfaces:
java.io.FileFilter

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

Class GlobFileFilter

Author:
jeff@shiftone.org (Jeff Drost)

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

Constructor Detail

GlobFileFilter

public GlobFileFilter(java.lang.String[] globPatterns,
                      java.lang.String description)
Method Detail

accept

public boolean accept(java.io.File f)
Method accept

Specified by:
accept in interface java.io.FileFilter
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Method getDescription

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