org.apache.oro.io

Class Perl5FilenameFilter

Implemented Interfaces:
FileFilter, FilenameFilter

public class Perl5FilenameFilter
extends RegexFilenameFilter

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.

Version:
2.0.8

Since:
1.0

See Also:
RegexFilenameFilter, AwkFilenameFilter, GlobFilenameFilter

Constructor Summary

Perl5FilenameFilter()
Same as Perl5FilenameFilter("");
Perl5FilenameFilter(String regex)
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK);
Perl5FilenameFilter(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

Method Summary

Methods inherited from class org.apache.oro.io.RegexFilenameFilter

accept, accept, setFilterExpression, setFilterExpression

Constructor Details

Perl5FilenameFilter

public Perl5FilenameFilter()
Same as Perl5FilenameFilter("");


Perl5FilenameFilter

public Perl5FilenameFilter(String regex)
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK);


Perl5FilenameFilter

public Perl5FilenameFilter(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

Parameters:
regex - The regular expression on which to filter.
options - A set of compilation options.


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.