Package org.apache.pdfbox.debugger.ui
Class ExtensionFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.pdfbox.debugger.ui.ExtensionFileFilter
-
public class ExtensionFileFilter extends javax.swing.filechooser.FileFilter
A FileFilter that will only accept files of a certain extension.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
desc
private java.lang.String[]
extensions
-
Constructor Summary
Constructors Constructor Description ExtensionFileFilter(java.lang.String[] ext, java.lang.String description)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File pathname)
java.lang.String
getDescription()
-