|
|||||||||
| Home >> All >> com >> textflex >> [ txtfl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.textflex.txtfl
Class EndsWithFileFilter

java.lang.Objectcom.textflex.txtfl.EndsWithFileFilter
- All Implemented Interfaces:
- java.io.FilenameFilter
- class EndsWithFileFilter
- extends java.lang.Object
- implements java.io.FilenameFilter
- extends java.lang.Object
Filters filenames to select only files with particular endings.
| Field Summary | |
private java.lang.String |
endsWith
|
| Constructor Summary | |
(package private) |
EndsWithFileFilter()
|
| Method Summary | |
boolean |
accept(java.io.File file,
java.lang.String name)
Aceepts the file if its name ends withe specified string, endsWith. |
void |
add(java.lang.String aEndsWith)
Sets the required ending. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
endsWith
private java.lang.String endsWith
| Constructor Detail |
EndsWithFileFilter
EndsWithFileFilter()
| Method Detail |
add
public void add(java.lang.String aEndsWith)
- Sets the required ending.
accept
public boolean accept(java.io.File file, java.lang.String name)
- Aceepts the file if its name ends withe specified string,
endsWith.- Specified by:
acceptin interfacejava.io.FilenameFilter
|
|||||||||
| Home >> All >> com >> textflex >> [ txtfl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.textflex.txtfl.EndsWithFileFilter