org.pdfsam.guiclient.utils.filters
Class TxtFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.pdfsam.guiclient.utils.filters.AbstractFileFilter
          extended by org.pdfsam.guiclient.utils.filters.TxtFilter
All Implemented Interfaces:
java.io.FileFilter

public class TxtFilter
extends AbstractFileFilter

Filter for the JFileChooser

Author:
Andrea Vacondio

Constructor Summary
TxtFilter()
           
TxtFilter(boolean acceptDirectory)
           
 
Method Summary
 java.lang.String getAcceptedExtension()
           
 java.lang.String getDescription()
           
 
Methods inherited from class org.pdfsam.guiclient.utils.filters.AbstractFileFilter
accept, getExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxtFilter

public TxtFilter()

TxtFilter

public TxtFilter(boolean acceptDirectory)
Method Detail

getAcceptedExtension

public java.lang.String getAcceptedExtension()
Specified by:
getAcceptedExtension in class AbstractFileFilter
Returns:
the accepted extension

getDescription

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