Package net.anwiba.commons.image
Class ImageFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- net.anwiba.commons.image.ImageFileFilter
-
public class ImageFileFilter extends javax.swing.filechooser.FileFilter
-
-
Constructor Summary
Constructors Constructor Description ImageFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)java.lang.StringgetDescription()booleanisImage(java.io.File file)
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
isImage
public boolean isImage(java.io.File file)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-
-