com.lowagie.tools.arguments
Class DirFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.lowagie.tools.arguments.DirFilter

public class DirFilter
extends javax.swing.filechooser.FileFilter

Filters directories in a JFileChooser.


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

Constructor Detail

DirFilter

public DirFilter()
Method Detail

accept

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

getDescription

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