|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oro.io.RegexFilenameFilter
org.apache.oro.io.Perl5FilenameFilter
Perl5FilenameFilter is a RegexFilenameFilter subclass that filters on Perl5 regular expressions as implemented by the org.apache.oro.text.regex package, which is required to use this class.
RegexFilenameFilter,
AwkFilenameFilter,
GlobFilenameFilter| Constructor Summary | |
Perl5FilenameFilter()
Same as Perl5FilenameFilter(""); |
|
Perl5FilenameFilter(java.lang.String regex)
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK); |
|
Perl5FilenameFilter(java.lang.String regex,
int options)
Construct a filter initialized with the indicated regular expression and accompanying compilation options conforming to those used by org.apache.oro.text.regex.Perl5Compiler
|
|
| Methods inherited from class org.apache.oro.io.RegexFilenameFilter |
accept, accept, setFilterExpression, setFilterExpression |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Perl5FilenameFilter(java.lang.String regex,
int options)
org.apache.oro.text.regex.Perl5Compiler
regex - The regular expression on which to filter.options - A set of compilation options.
MalformedCachePatternException - If there is an error in
compiling the regular expression. This need not be caught if
you are using a hard-coded expression that you know is correct.
But for robustness and reliability you should catch this exception
for dynamically entered expressions determined at runtime.public Perl5FilenameFilter(java.lang.String regex)
public Perl5FilenameFilter()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||