|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
com.huguesjohnson.fileFilter.ImageFileFilter
ImageFileFilter filter to only accept images supported by ImageIO uses ImageReaderWriterSpi.getFileSuffixes() to get a list of supported extensions
| Constructor Summary | |
ImageFileFilter()
Creates a new instance of ImageFileFilter |
|
| Method Summary | |
boolean |
accept(java.io.File file)
accept tests if a file has an extension of a known type. |
java.lang.String |
getDescription()
getDescription returns the description of files accepted by the filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageFileFilter()
| Method Detail |
public final boolean accept(java.io.File file)
file - file to check
public java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||