|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsrc2xml.FileUtils.RegexFilenameFilter
public static class FileUtils.RegexFilenameFilter
A class that implements a regexp file filter
Constructor Summary | |
---|---|
FileUtils.RegexFilenameFilter(java.lang.String regex)
Class constructor |
Method Summary | |
---|---|
boolean |
accept(java.io.File dir,
java.lang.String name)
Tests if a specified file should be included in a file list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtils.RegexFilenameFilter(java.lang.String regex) throws java.util.regex.PatternSyntaxException
regex
- the regular expression of the filter
java.util.regex.PatternSyntaxException
Pattern
Method Detail |
---|
public boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
dir
- the directory in which the file was foundname
- the name of the file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |