All Packages Class Hierarchy This Package Previous Next Index
Class com.oroinc.io.GlobFilenameFilter
java.lang.Object
|
+----com.oroinc.io.RegexFilenameFilter
|
+----com.oroinc.io.GlobFilenameFilter
- public class GlobFilenameFilter
- extends RegexFilenameFilter
GlobFilenameFilter is a RegexFilenameFilter subclass that filters on Glob
regular expressions as implemented by the com.oroinc.text package,
which is required to use this class.
Copyright © 1997 Original Resuable Objects, Inc. All rights reserved.
- See Also:
- RegexFilenameFilter, AwkFilenameFilter, GlobFilenameFilter
-
GlobFilenameFilter()
- Same as GlobFilenameFilter("");
-
GlobFilenameFilter(String)
- Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
-
GlobFilenameFilter(String, int)
- Construct a filter initialized with the indicated regular expression
and accompanying compilation options conforming to those used by
com.oroinc.text.GlobCompiler
GlobFilenameFilter
public GlobFilenameFilter(String regex,
int options)
- Construct a filter initialized with the indicated regular expression
and accompanying compilation options conforming to those used by
com.oroinc.text.GlobCompiler
- Parameters:
- regex - The regular expression on which to filter.
- options - A set of compilation options.
- Throws: 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.
GlobFilenameFilter
public GlobFilenameFilter(String regex)
- Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
GlobFilenameFilter
public GlobFilenameFilter()
- Same as GlobFilenameFilter("");
All Packages Class Hierarchy This Package Previous Next Index