public class AwkFilenameFilter extends RegexFilenameFilter
RegexFilenameFilter,
Perl5FilenameFilter,
GlobFilenameFilter| 构造器和说明 |
|---|
AwkFilenameFilter()
Same as AwkFilenameFilter("");
|
AwkFilenameFilter(String regex)
Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);
|
AwkFilenameFilter(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.awk.AwkCompiler
|
public AwkFilenameFilter(String regex, int options)
org.apache.oro.text.awk.AwkCompiler
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 AwkFilenameFilter(String regex)
public AwkFilenameFilter()
Copyright © 2024. All rights reserved.