Package com.lowagie.rups.io.filters
Class PdfFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- com.lowagie.rups.io.filters.PdfFilter
-
public class PdfFilter extends javax.swing.filechooser.FileFilter
Filters PDF files in a JFileChooser.
-
-
Constructor Summary
Constructors Constructor Description PdfFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File f)
java.lang.String
getDescription()
-
-
-
Field Detail
-
INSTANCE
public static final PdfFilter INSTANCE
A public instance of the PdfFilter.
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in classjavax.swing.filechooser.FileFilter
- Parameters:
f
- File- Returns:
- boolean
- See Also:
FileFilter.accept(java.io.File)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classjavax.swing.filechooser.FileFilter
- Returns:
- String
- See Also:
FileFilter.getDescription()
-
-