com.itextpdf.rups.io.filters
Class PdfFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.itextpdf.rups.io.filters.PdfFilter

public class PdfFilter
extends FileFilter

Filters PDF files in a JFileChooser.


Field Summary
static PdfFilter INSTANCE
          A public instance of the PdfFilter.
 
Constructor Summary
PdfFilter()
           
 
Method Summary
 boolean accept(File f)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PdfFilter INSTANCE
A public instance of the PdfFilter.

Constructor Detail

PdfFilter

public PdfFilter()
Method Detail

accept

public boolean accept(File f)
Specified by:
accept in class FileFilter
Parameters:
f - File
Returns:
boolean
See Also:
FileFilter.accept(java.io.File)

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter
Returns:
String
See Also:
FileFilter.getDescription()

Hosted by Hostbasket