|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.pear.util.FileUtil.NameFileFilter
public static class FileUtil.NameFileFilter
The NameFileFilter
class allows to filter files based on specified file name.
Constructor Summary | |
---|---|
FileUtil.NameFileFilter(java.lang.String fileName)
Constructs NameFileFilter object for a given file name. |
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.NameFileFilter(java.lang.String fileName)
NameFileFilter
object for a given file name.
fileName
- The given file name for filtering.Method Detail |
---|
public boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
file
- 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 |