Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.oro.io
Class GlobFilenameFilter  view GlobFilenameFilter download GlobFilenameFilter.java

java.lang.Object
  extended byorg.apache.oro.io.RegexFilenameFilter
      extended byorg.apache.oro.io.GlobFilenameFilter
All Implemented Interfaces:
java.io.FileFilter, java.io.FilenameFilter

public class GlobFilenameFilter
extends RegexFilenameFilter

GlobFilenameFilter is a RegexFilenameFilter subclass that filters on Glob regular expressions as implemented by the org.apache.oro.text package, which is required to use this class.

Since:
1.0
Version:
@version@

Field Summary
private static org.apache.oro.text.PatternCache __CACHE
           
private static org.apache.oro.text.regex.PatternMatcher __MATCHER
           
 
Fields inherited from class org.apache.oro.io.RegexFilenameFilter
_cache, _matcher, _pattern
 
Constructor Summary
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
 
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
 

Field Detail

__MATCHER

private static final org.apache.oro.text.regex.PatternMatcher __MATCHER

__CACHE

private static final org.apache.oro.text.PatternCache __CACHE
Constructor Detail

GlobFilenameFilter

public 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


GlobFilenameFilter

public GlobFilenameFilter(java.lang.String regex)
Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);


GlobFilenameFilter

public GlobFilenameFilter()
Same as GlobFilenameFilter("");