com.lowagie.tools.arguments
public class ImageFilter extends FileFilter
Field Summary | |
---|---|
boolean[] | filter array that enables you to filter on imagetypes. |
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
See Also: javax.swing.filechooser.FileFilter#accept(java.io.File)
See Also: javax.swing.filechooser.FileFilter#getDescription()