com.lowagie.toolbox.arguments.filters
public class ImageFilter extends FileFilter
Since: 2.1.1 (imported from itexttoolbox project)
Field Summary | |
---|---|
boolean[] | filter array that enables you to filter on image types. |
static String[] | IMAGES Array with all kinds of image extensions. |
Constructor Summary | |
---|---|
ImageFilter()
Constructs an ImageFilter allowing all images. | |
ImageFilter(boolean jpeg, boolean png, boolean gif, boolean bmp, boolean wmf, boolean tiff)
Constructs an ImageFilter allowing some images. |
Method Summary | |
---|---|
boolean | accept(File f) |
String | getDescription() |
Parameters: jpeg indicates if jpegs are allowed png indicates if pngs are allowed gif indicates if gifs are allowed bmp indicates if bmps are allowed wmf indicates if wmfs are allowed tiff indicates if tiffs are allowed
Parameters: f File
Returns: boolean
See Also: javax.swing.filechooser.FileFilter#accept(java.io.File)
Returns: String
See Also: javax.swing.filechooser.FileFilter#getDescription()