java.io.FileFilter, java.io.FilenameFilterpublic class GlobFilenameFilter extends RegexFilenameFilter
RegexFilenameFilter,
AwkFilenameFilter,
GlobFilenameFilter| Constructor | Description |
|---|---|
GlobFilenameFilter() |
Same as GlobFilenameFilter("");
|
GlobFilenameFilter(java.lang.String regex) |
Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
|
GlobFilenameFilter(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.GlobCompiler |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, setFilterExpression, setFilterExpressionpublic GlobFilenameFilter(java.lang.String regex,
int options)
org.apache.oro.text.GlobCompiler
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 GlobFilenameFilter(java.lang.String regex)
public GlobFilenameFilter()
Copyright ? 2000-2003 Apache Software Foundation. All Rights Reserved.