|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFileExtensionFilter
File extension filter - tests if a specified file should be included in a file list. Author: Ageenko Created: Mar 17, 2003 Version: 1
| Constructor Summary | |
FileExtensionFilter(java.lang.String end)
Constructor for the filter. |
|
| Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
Filter accepts only files that have particular extension. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileExtensionFilter(java.lang.String end)
end - a file ending (e.g. extension)| Method Detail |
public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilterdir - file pathname - file name
true if the file name ends with extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||