|
||||||||||
| 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.MultiExtensionFileFilter
MultiExtensionFileFilter Filter to accept a list of file extensions
| Constructor Summary | |
MultiExtensionFileFilter(java.lang.String[] extensionList)
Creates a new instance of MultiExtensionFileFilter |
|
| 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 file 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 MultiExtensionFileFilter(java.lang.String[] extensionList)
extensionList - the list of file extensions to accept
NOT case sensitive
directories always accepted| 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 | |||||||||