|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.dialog.CustomizedFilenameFilter
Customized file name filter. Simply needs to indicate the allowed extension in the constructor. Does not work in J9. Does work in Phoneme.
Constructor Summary | |
CustomizedFilenameFilter(java.lang.String _ext)
Constructor |
Method Summary | |
boolean |
accept(java.io.File f,
java.lang.String name)
Method to find out whether a file is accepted by the filter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CustomizedFilenameFilter(java.lang.String _ext)
_ext
- allowed extensionMethod Detail |
public boolean accept(java.io.File f, java.lang.String name)
accept
in interface java.io.FilenameFilter
f
- file object to be treatedname
- file name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |