|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.pear.util.FileUtil.DirFileFilter
public static class FileUtil.DirFileFilter
The DirFileFilter class allows to filter files based on specified directory path
and filename extension.
| Constructor Summary | |
|---|---|
FileUtil.DirFileFilter(java.lang.String dirPath,
java.lang.String fileExt)
Constructs DirFileFilter object for specified directory and file extension. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File file)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtil.DirFileFilter(java.lang.String dirPath,
java.lang.String fileExt)
DirFileFilter object for specified directory and file extension.
dirPath - The given directory.fileExt - The given file extension.| Method Detail |
|---|
public boolean accept(java.io.File file)
accept in interface java.io.FileFilterfile - The given file to be tested.
true if the given file should be accepted, false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||