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.FileFilterFilters PDF files in a JFileChooser.
-
-
Constructor Summary
Constructors Constructor Description PdfFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File f)java.lang.StringgetDescription()
-
-
-
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:
acceptin classjavax.swing.filechooser.FileFilter- Parameters:
f- File- Returns:
- boolean
- See Also:
FileFilter.accept(java.io.File)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter- Returns:
- String
- See Also:
FileFilter.getDescription()
-
-