- accept(File, String) - Method in class org.apache.oro.io.RegexFilenameFilter
-
Filters a filename.
- accept(File) - Method in class org.apache.oro.io.RegexFilenameFilter
-
Filters a filename.
- addAction(String, int, MatchAction) - Method in class org.apache.oro.text.MatchActionProcessor
-
Registers a pattern action pair, providing options to be used to
compile the pattern.
- addAction(String, int) - Method in class org.apache.oro.text.MatchActionProcessor
-
Binds a patten to the default action, providing options to be
used to compile the pattern.
- addAction(String) - Method in class org.apache.oro.text.MatchActionProcessor
-
Binds a patten to the default action.
- addAction(String, MatchAction) - Method in class org.apache.oro.text.MatchActionProcessor
-
Registers a pattern action pair.
- addElement(Object, Object) - Method in interface org.apache.oro.util.Cache
-
- addElement(Object, Object) - Method in class org.apache.oro.util.CacheFIFO
-
Adds a value to the cache.
- addElement(Object, Object) - Method in class org.apache.oro.util.CacheFIFO2
-
Adds a value to the cache.
- addElement(Object, Object) - Method in class org.apache.oro.util.CacheLRU
-
Adds a value to the cache.
- addElement(Object, Object) - Method in class org.apache.oro.util.CacheRandom
-
Adds a value to the cache.
- addElement(Object, Object) - Method in class org.apache.oro.util.GenericCache
-
- addPattern(String, int) - Method in class org.apache.oro.text.GenericPatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- addPattern(String) - Method in class org.apache.oro.text.GenericPatternCache
-
Same as calling
- addPattern(String) - Method in interface org.apache.oro.text.PatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- addPattern(String, int) - Method in interface org.apache.oro.text.PatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- appendSubstitution(StringBuffer, MatchResult, int, PatternMatcherInput, PatternMatcher, Pattern) - Method in class org.apache.oro.text.regex.Perl5Substitution
-
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
- appendSubstitution(StringBuffer, MatchResult, int, PatternMatcherInput, PatternMatcher, Pattern) - Method in class org.apache.oro.text.regex.StringSubstitution
-
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
- appendSubstitution(StringBuffer, MatchResult, int, PatternMatcherInput, PatternMatcher, Pattern) - Method in interface org.apache.oro.text.regex.Substitution
-
Appends the substitution to a buffer containing the original input
with substitutions applied for the pattern matches found so far.
- AwkCompiler - Class in org.apache.oro.text.awk
-
The AwkCompiler class is used to create compiled regular expressions
conforming to the Awk regular expression syntax.
- AwkCompiler() - Constructor for class org.apache.oro.text.awk.AwkCompiler
-
- AwkFilenameFilter - Class in org.apache.oro.io
-
AwkFilenameFilter is a RegexFilenameFilter subclass that filters on Awk
regular expressions as implemented by the org.apache.oro.text.awk package,
which is required to use this class.
- AwkFilenameFilter(String, int) - Constructor for class org.apache.oro.io.AwkFilenameFilter
-
Construct a filter initialized with the indicated regular expression
and accompanying compilation options conforming to those used by
org.apache.oro.text.awk.AwkCompiler
- AwkFilenameFilter(String) - Constructor for class org.apache.oro.io.AwkFilenameFilter
-
Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);
- AwkFilenameFilter() - Constructor for class org.apache.oro.io.AwkFilenameFilter
-
Same as AwkFilenameFilter("");
- AwkMatcher - Class in org.apache.oro.text.awk
-
The AwkMatcher class is used to match regular expressions
(conforming to the Awk regular expression syntax) generated by
AwkCompiler.
- AwkMatcher() - Constructor for class org.apache.oro.text.awk.AwkMatcher
-
- AwkPattern - Class in org.apache.oro.text.awk
-
An implementation of the Pattern interface for Awk regular expressions.
- AwkStreamInput - Class in org.apache.oro.text.awk
-
The AwkStreamInput class is used to look for pattern matches in an
input stream (actually a java.io.Reader instance) in conjunction with
the AwkMatcher class.
- AwkStreamInput(Reader, int) - Constructor for class org.apache.oro.text.awk.AwkStreamInput
-
Creates an AwkStreamInput instance bound to a Reader with a
specified initial buffer size and default buffer increment.
- AwkStreamInput(Reader) - Constructor for class org.apache.oro.text.awk.AwkStreamInput
-
Creates an AwkStreamInput instance bound to a Reader with an
initial buffer size and default buffer increment of 2048 bytes.
- Cache - Interface in org.apache.oro.util
-
An interface defining the basic functions of a cache.
- CacheFIFO - Class in org.apache.oro.util
-
This class is a GenericCache subclass implementing a FIFO (First
In First Out) cache replacement policy.
- CacheFIFO(int) - Constructor for class org.apache.oro.util.CacheFIFO
-
Creates a CacheFIFO instance with a given cache capacity.
- CacheFIFO() - Constructor for class org.apache.oro.util.CacheFIFO
-
Same as:
- CacheFIFO2 - Class in org.apache.oro.util
-
This class is a GenericCache subclass implementing a second
chance FIFO (First In First Out) cache replacement policy.
- CacheFIFO2(int) - Constructor for class org.apache.oro.util.CacheFIFO2
-
Creates a CacheFIFO2 instance with a given cache capacity.
- CacheFIFO2() - Constructor for class org.apache.oro.util.CacheFIFO2
-
Same as:
- CacheLRU - Class in org.apache.oro.util
-
This class is a GenericCache subclass implementing an LRU
(Least Recently Used) cache replacement policy.
- CacheLRU(int) - Constructor for class org.apache.oro.util.CacheLRU
-
Creates a CacheLRU instance with a given cache capacity.
- CacheLRU() - Constructor for class org.apache.oro.util.CacheLRU
-
Same as:
- CacheRandom - Class in org.apache.oro.util
-
This class is a GenericCache subclass implementing a random
cache replacement policy.
- CacheRandom(int) - Constructor for class org.apache.oro.util.CacheRandom
-
Creates a CacheRandom instance with a given cache capacity.
- CacheRandom() - Constructor for class org.apache.oro.util.CacheRandom
-
Same as:
- capacity() - Method in class org.apache.oro.text.GenericPatternCache
-
Returns the maximum number of patterns that can be cached at one time.
- capacity() - Method in interface org.apache.oro.text.PatternCache
-
Returns the maximum number of patterns that can be cached at one time.
- capacity() - Method in interface org.apache.oro.util.Cache
-
Returns the maximum number of elements that can be cached at one time.
- capacity() - Method in class org.apache.oro.util.GenericCache
-
Returns the maximum number of elements that can be cached at one time.
- CASE_INSENSITIVE_MASK - Static variable in class org.apache.oro.text.awk.AwkCompiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled regular expression should be case insensitive.
- CASE_INSENSITIVE_MASK - Static variable in class org.apache.oro.text.GlobCompiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled glob expression should be case insensitive.
- CASE_INSENSITIVE_MASK - Static variable in class org.apache.oro.text.regex.Perl5Compiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled regular expression should be case insensitive.
- charAt(int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Returns the character at a particular offset relative to the begin
offset of the input.
- charLine - Variable in class org.apache.oro.text.MatchActionInfo
-
The char[] representation of the matching line with the trailing
newline truncated.
- compile(char[], int) - Method in class org.apache.oro.text.awk.AwkCompiler
-
Compiles an Awk regular expression into an AwkPattern instance that
can be used by an AwkMatcher object to perform pattern matching.
- compile(String, int) - Method in class org.apache.oro.text.awk.AwkCompiler
-
Compiles an Awk regular expression into an AwkPattern instance that
can be used by an AwkMatcher object to perform pattern matching.
- compile(char[]) - Method in class org.apache.oro.text.awk.AwkCompiler
-
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
- compile(String) - Method in class org.apache.oro.text.awk.AwkCompiler
-
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
- compile(char[], int) - Method in class org.apache.oro.text.GlobCompiler
-
Compiles a Glob expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
- compile(char[]) - Method in class org.apache.oro.text.GlobCompiler
-
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
- compile(String) - Method in class org.apache.oro.text.GlobCompiler
-
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
- compile(String, int) - Method in class org.apache.oro.text.GlobCompiler
-
Compiles a Glob expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
- compile(String) - Method in interface org.apache.oro.text.regex.PatternCompiler
-
Compiles a regular expression into a data structure that can be used
by a PatternMatcher implementation to perform pattern matching.
- compile(String, int) - Method in interface org.apache.oro.text.regex.PatternCompiler
-
Compiles a regular expression into a data structure that can be
used by a PatternMatcher implementation to perform pattern matching.
- compile(char[]) - Method in interface org.apache.oro.text.regex.PatternCompiler
-
Compiles a regular expression into a data structure that can be used
by a PatternMatcher implementation to perform pattern matching.
- compile(char[], int) - Method in interface org.apache.oro.text.regex.PatternCompiler
-
Compiles a regular expression into a data structure that can be
used by a PatternMatcher implementation to perform pattern matching.
- compile(char[], int) - Method in class org.apache.oro.text.regex.Perl5Compiler
-
Compiles a Perl5 regular expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
- compile(char[]) - Method in class org.apache.oro.text.regex.Perl5Compiler
-
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
- compile(String) - Method in class org.apache.oro.text.regex.Perl5Compiler
-
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
- compile(String, int) - Method in class org.apache.oro.text.regex.Perl5Compiler
-
Compiles a Perl5 regular expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
- contains(char[], Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(String, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a string contains a pattern.
- contains(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if the contents of a PatternMatcherInput, starting from the
current offset of the input contains a pattern.
- contains(AwkStreamInput, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if the contents of an AwkStreamInput, starting from the
current offset of the input contains a pattern.
- contains(String, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a string contains a pattern.
- contains(char[], Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(PatternMatcherInput, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if the contents of a PatternMatcherInput, starting from the
current offset of the input contains a pattern.
- contains(String, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string contains a pattern.
- contains(char[], Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if the contents of a PatternMatcherInput, starting from the
current offset of the input contains a pattern.
- GenericCache - Class in org.apache.oro.util
-
This is the base class for all cache implementations provided in the
org.apache.oro.util package.
- GenericPatternCache - Class in org.apache.oro.text
-
This is the base class for all cache implementations provided in the
org.apache.oro.text package.
- getBeginOffset() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
- getBuffer() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Retrieves the char[] buffer to be used used as input by PatternMatcher
implementations to look for matches.
- getCurrentOffset() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
- getElement(Object) - Method in interface org.apache.oro.util.Cache
-
- getElement(Object) - Method in class org.apache.oro.util.CacheFIFO2
-
- getElement(Object) - Method in class org.apache.oro.util.CacheLRU
-
- getElement(Object) - Method in class org.apache.oro.util.GenericCache
-
- getEndOffset() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
- getInput() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Retrieves the original input used to initialize the PatternMatcherInput
instance.
- getMatch() - Method in class org.apache.oro.text.awk.AwkMatcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatch() - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the last match found by a call to a match(), substitute(), or
split() method.
- getMatch() - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatch() - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatchBeginOffset() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Returns the offset marking the beginning of the match found by
contains().
- getMatchEndOffset() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Returns the offset marking the end of the match found by contains().
- getOptions() - Method in class org.apache.oro.text.awk.AwkPattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getOptions() - Method in interface org.apache.oro.text.regex.Pattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getOptions() - Method in class org.apache.oro.text.regex.Perl5Pattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getPattern() - Method in class org.apache.oro.text.awk.AwkPattern
-
This method returns the string representation of the pattern.
- getPattern(String, int) - Method in class org.apache.oro.text.GenericPatternCache
-
This method fetches a pattern from the cache.
- getPattern(String) - Method in class org.apache.oro.text.GenericPatternCache
-
Same as calling
- getPattern(String) - Method in interface org.apache.oro.text.PatternCache
-
This method fetches a pattern from the cache.
- getPattern(String, int) - Method in interface org.apache.oro.text.PatternCache
-
This method fetches a pattern from the cache.
- getPattern() - Method in interface org.apache.oro.text.regex.Pattern
-
This method returns the string representation of the pattern.
- getPattern() - Method in class org.apache.oro.text.regex.Perl5Pattern
-
This method returns the string representation of the pattern.
- getSubstitution() - Method in class org.apache.oro.text.regex.StringSubstitution
-
Returns the string substitution represented by this object.
- GlobCompiler - Class in org.apache.oro.text
-
The GlobCompiler class will compile a glob expression into a Perl5Pattern
that may be used to match patterns in conjunction with Perl5Matcher.
- GlobCompiler() - Constructor for class org.apache.oro.text.GlobCompiler
-
The default GlobCompiler constructor.
- GlobFilenameFilter - Class in org.apache.oro.io
-
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.
- GlobFilenameFilter(String, int) - Constructor for class org.apache.oro.io.GlobFilenameFilter
-
Construct a filter initialized with the indicated regular expression
and accompanying compilation options conforming to those used by
org.apache.oro.text.GlobCompiler
- GlobFilenameFilter(String) - Constructor for class org.apache.oro.io.GlobFilenameFilter
-
Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
- GlobFilenameFilter() - Constructor for class org.apache.oro.io.GlobFilenameFilter
-
Same as GlobFilenameFilter("");
- globToPerl5(char[], int) - Static method in class org.apache.oro.text.GlobCompiler
-
This static method is the basic engine of the Glob PatternCompiler
implementation.
- group(int) - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the contents of the parenthesized subgroups of the last match
found according to the behavior dictated by the MatchResult interface.
- group(int) - Method in interface org.apache.oro.text.regex.MatchResult
-
Returns the contents of the parenthesized subgroups of a match,
counting parentheses from left to right and starting from 1.
- groups() - Method in class org.apache.oro.text.perl.Perl5Util
-
- groups() - Method in interface org.apache.oro.text.regex.MatchResult
-
- MalformedCachePatternException - Exception in org.apache.oro.text
-
An exception used to indicate errors in a regular expression fetched
from a PatternCache.
- MalformedCachePatternException() - Constructor for exception org.apache.oro.text.MalformedCachePatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedCachePatternException(String) - Constructor for exception org.apache.oro.text.MalformedCachePatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPatternException - Exception in org.apache.oro.text.regex
-
A class used to signify the occurrence of a syntax error in a
regular expression that is being compiled.
- MalformedPatternException() - Constructor for exception org.apache.oro.text.regex.MalformedPatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPatternException(String) - Constructor for exception org.apache.oro.text.regex.MalformedPatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPerl5PatternException - Exception in org.apache.oro.text.perl
-
An exception used to indicate errors in Perl style regular expressions.
- MalformedPerl5PatternException() - Constructor for exception org.apache.oro.text.perl.MalformedPerl5PatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPerl5PatternException(String) - Constructor for exception org.apache.oro.text.perl.MalformedPerl5PatternException
-
Simply calls the corresponding constructor of its superclass.
- match - Variable in class org.apache.oro.text.MatchActionInfo
-
The first match found in the line of input.
- match(String, char[]) - Method in class org.apache.oro.text.perl.Perl5Util
-
Searches for the first pattern match somewhere in a character array
taking a pattern specified in Perl5 native format:
- match(String, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
Searches for the first pattern match in a String taking
a pattern specified in Perl5 native format:
- match(String, PatternMatcherInput) - Method in class org.apache.oro.text.perl.Perl5Util
-
Searches for the next pattern match somewhere in a
org.apache.oro.text.regex.PatternMatcherInput instance, taking
a pattern specified in Perl5 native format:
- match() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
A convenience method returning the part of the input corresponding
to the last match found by a call to a Perl5Matcher
contains
method.
- MatchAction - Interface in org.apache.oro.text
-
The MatchAction interface provides the callback interface for actions
bound to patterns in
MatchActionProcessor
.
- MatchActionInfo - Class in org.apache.oro.text
-
This class is used to provide information regarding a match found by
MatchActionProcessor to a MatchAction callback implementation.
- MatchActionInfo() - Constructor for class org.apache.oro.text.MatchActionInfo
-
- MatchActionProcessor - Class in org.apache.oro.text
-
The MatchActionProcessor class provides AWK-like line by line filtering
of a text stream, pattern action pair association, and field splitting
based on a registered separator.
- MatchActionProcessor(PatternCompiler, PatternMatcher) - Constructor for class org.apache.oro.text.MatchActionProcessor
-
Creates a new MatchActionProcessor instance initialized with the specified
pattern compiler and matcher.
- MatchActionProcessor() - Constructor for class org.apache.oro.text.MatchActionProcessor
-
Default constructor for MatchActionProcessor.
- matcher - Variable in class org.apache.oro.text.MatchActionInfo
-
The PatternMatcher used to find the match.
- matches(char[], Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a string (represented as a char[]) exactly
matches a given pattern.
- matches(String, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a string exactly matches a given pattern.
- matches(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matches(String, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a string exactly matches a given pattern.
- matches(char[], Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a string (represented as a char[]) exactly matches
a given pattern.
- matches(PatternMatcherInput, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matches(char[], Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string (represented as a char[]) exactly
matches a given pattern.
- matches(String, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string exactly matches a given pattern.
- matches(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matchesPrefix(char[], Pattern, int) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern, starting from a given offset into the string.
- matchesPrefix(char[], Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(String, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- matchesPrefix(char[], Pattern, int) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern, starting from a given offset into the string.
- matchesPrefix(String, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(char[], Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - Method in interface org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- matchesPrefix(char[], Pattern, int) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern, starting from a given offset into the string.
- matchesPrefix(char[], Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(String, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- MatchResult - Interface in org.apache.oro.text.regex
-
The MatchResult interface allows PatternMatcher implementors to return
results storing match information in whatever format they like, while
presenting a consistent way of accessing that information.
- MULTILINE_MASK - Static variable in class org.apache.oro.text.awk.AwkCompiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled regular expression should treat input as having
multiple lines.
- MULTILINE_MASK - Static variable in class org.apache.oro.text.regex.Perl5Compiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled regular expression should treat input as having
multiple lines.
- pattern - Variable in class org.apache.oro.text.MatchActionInfo
-
The pattern found in the line of input.
- Pattern - Interface in org.apache.oro.text.regex
-
The Pattern interface allows multiple representations of a regular
expression to be defined.
- PatternCache - Interface in org.apache.oro.text
-
An interface defining the basic functions of a regular expression
cache.
- PatternCacheFIFO - Class in org.apache.oro.text
-
This class is a GenericPatternCache subclass implementing a FIFO (First
In First Out) cache replacement policy.
- PatternCacheFIFO(int, PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheFIFO
-
Creates a PatternCacheFIFO instance with a given cache capacity,
initialized to use a given PatternCompiler instance as a pattern compiler.
- PatternCacheFIFO(PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheFIFO
-
Same as:
- PatternCacheFIFO(int) - Constructor for class org.apache.oro.text.PatternCacheFIFO
-
Same as:
- PatternCacheFIFO() - Constructor for class org.apache.oro.text.PatternCacheFIFO
-
Same as:
- PatternCacheFIFO2 - Class in org.apache.oro.text
-
This class is a GenericPatternCache subclass implementing a second
chance FIFO (First In First Out) cache replacement policy.
- PatternCacheFIFO2(int, PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheFIFO2
-
Creates a PatternCacheFIFO2 instance with a given cache capacity,
initialized to use a given PatternCompiler instance as a pattern compiler.
- PatternCacheFIFO2(PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheFIFO2
-
Same as:
- PatternCacheFIFO2(int) - Constructor for class org.apache.oro.text.PatternCacheFIFO2
-
Same as:
- PatternCacheFIFO2() - Constructor for class org.apache.oro.text.PatternCacheFIFO2
-
Same as:
- PatternCacheLRU - Class in org.apache.oro.text
-
This class is a GenericPatternCache subclass implementing an LRU
(Least Recently Used) cache replacement policy.
- PatternCacheLRU(int, PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheLRU
-
Creates a PatternCacheLRU instance with a given cache capacity,
and initialized to use a given PatternCompiler instance as a pattern
compiler.
- PatternCacheLRU(PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheLRU
-
Same as:
- PatternCacheLRU(int) - Constructor for class org.apache.oro.text.PatternCacheLRU
-
Same as:
- PatternCacheLRU() - Constructor for class org.apache.oro.text.PatternCacheLRU
-
Same as:
- PatternCacheRandom - Class in org.apache.oro.text
-
This class is a GenericPatternCache subclass implementing a random
cache replacement policy.
- PatternCacheRandom(int, PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheRandom
-
Creates a PatternCacheRandom instance with a given cache capacity
and initialized to use a given PatternCompiler instance as a pattern
compiler.
- PatternCacheRandom(PatternCompiler) - Constructor for class org.apache.oro.text.PatternCacheRandom
-
Same as:
- PatternCacheRandom(int) - Constructor for class org.apache.oro.text.PatternCacheRandom
-
Same as:
- PatternCacheRandom() - Constructor for class org.apache.oro.text.PatternCacheRandom
-
Same as:
- PatternCompiler - Interface in org.apache.oro.text.regex
-
The PatternCompiler interface defines the operations a regular
expression compiler must implement.
- PatternMatcher - Interface in org.apache.oro.text.regex
-
The PatternMatcher interface defines the operations a regular
expression matcher must implement.
- PatternMatcherInput - Class in org.apache.oro.text.regex
-
The PatternMatcherInput class is used to preserve state across
calls to the contains()
methods of PatternMatcher instances.
- PatternMatcherInput(String, int, int) - Constructor for class org.apache.oro.text.regex.PatternMatcherInput
-
Creates a PatternMatcherInput object, associating a region of a String
as input to be used for pattern matching by PatternMatcher objects.
- PatternMatcherInput(String) - Constructor for class org.apache.oro.text.regex.PatternMatcherInput
-
Like calling
- PatternMatcherInput(char[], int, int) - Constructor for class org.apache.oro.text.regex.PatternMatcherInput
-
Creates a PatternMatcherInput object, associating a region of a string
(represented as a char[]) as input
to be used for pattern matching by PatternMatcher objects.
- PatternMatcherInput(char[]) - Constructor for class org.apache.oro.text.regex.PatternMatcherInput
-
Like calling:
- Perl5Compiler - Class in org.apache.oro.text.regex
-
The Perl5Compiler class is used to create compiled regular expressions
conforming to the Perl5 regular expression syntax.
- Perl5Compiler() - Constructor for class org.apache.oro.text.regex.Perl5Compiler
-
- Perl5Debug - Class in org.apache.oro.text.regex
-
The Perl5Debug class is not intended for general use and should not
be instantiated, but is provided because some users may find the output
of its single method to be useful.
- Perl5FilenameFilter - Class in org.apache.oro.io
-
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.
- Perl5FilenameFilter(String, int) - Constructor for class org.apache.oro.io.Perl5FilenameFilter
-
Construct a filter initialized with the indicated regular expression
and accompanying compilation options conforming to those used by
org.apache.oro.text.regex.Perl5Compiler
- Perl5FilenameFilter(String) - Constructor for class org.apache.oro.io.Perl5FilenameFilter
-
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK);
- Perl5FilenameFilter() - Constructor for class org.apache.oro.io.Perl5FilenameFilter
-
Same as Perl5FilenameFilter("");
- Perl5Matcher - Class in org.apache.oro.text.regex
-
The Perl5Matcher class is used to match regular expressions
(conforming to the Perl5 regular expression syntax) generated by
Perl5Compiler.
- Perl5Matcher() - Constructor for class org.apache.oro.text.regex.Perl5Matcher
-
- Perl5Pattern - Class in org.apache.oro.text.regex
-
An implementation of the Pattern interface for Perl5 regular expressions.
- Perl5Substitution - Class in org.apache.oro.text.regex
-
Perl5Substitution implements a Substitution consisting of a
literal string, but allowing Perl5 variable interpolation referencing
saved groups in a match.
- Perl5Substitution() - Constructor for class org.apache.oro.text.regex.Perl5Substitution
-
- Perl5Substitution(String) - Constructor for class org.apache.oro.text.regex.Perl5Substitution
-
- Perl5Substitution(String, int) - Constructor for class org.apache.oro.text.regex.Perl5Substitution
-
Creates a Perl5Substitution using the specified substitution
and setting the number of interpolations to the specified value.
- Perl5Util - Class in org.apache.oro.text.perl
-
This is a utility class implementing the 3 most common Perl5 operations
involving regular expressions:
[m]/pattern/[i][m][s][x],
s/pattern/replacement/[g][i][m][o][s][x],
and split().
- Perl5Util(PatternCache) - Constructor for class org.apache.oro.text.perl.Perl5Util
-
A secondary constructor for Perl5Util.
- Perl5Util() - Constructor for class org.apache.oro.text.perl.Perl5Util
-
Default constructor for Perl5Util.
- postMatch() - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input following the last match found.
- postMatch() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
A convenience method returning the part of the input occurring after
the last match found by a call to a Perl5Matcher
contains
method.
- postMatchCharArray() - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input following the last match found as a char
array.
- preMatch() - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input preceding the last match found.
- preMatch() - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
A convenience method returning the part of the input occurring before
the last match found by a call to a Perl5Matcher
contains
method.
- preMatchCharArray() - Method in class org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input preceding the last match found as a
char array.
- printProgram(Perl5Pattern) - Static method in class org.apache.oro.text.regex.Perl5Debug
-
This method prints to a String the bytecode program contained in a
Perl5Pattern._ The program byte codes are identical to those
generated by Perl5 with the -r option, but the offsets are
different due to the different data structures used.
- processMatch(MatchActionInfo) - Method in interface org.apache.oro.text.MatchAction
-
This method is called by MatchActionProcessor when it finds an associated
pattern in a line of input.
- processMatches(InputStream, OutputStream, String) - Method in class org.apache.oro.text.MatchActionProcessor
-
This method reads the provided input one line at a time and for
every registered pattern that is contained in the line it executes
the associated MatchAction's processMatch() method.
- processMatches(InputStream, OutputStream) - Method in class org.apache.oro.text.MatchActionProcessor
-
This method reads the provided input one line at a time using the
platform standart character encoding and for every registered
pattern that is contained in the line it executes the associated
MatchAction's processMatch() method.
- processMatches(Reader, Writer) - Method in class org.apache.oro.text.MatchActionProcessor
-
This method reads the provided input one line at a time and for
every registered pattern that is contained in the line it executes
the associated MatchAction's processMatch() method.
- setBeginOffset(int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Sets the offset of the input that should be considered the start
of the region to be considered as input by PatternMatcher
methods.
- setCurrentOffset(int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Sets the offset of the input that should be considered the current
offset where PatternMatcher methods should start looking for
matches.
- setEndOffset(int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Sets the offset of the input that should be considered the end
of the region to be considered as input by PatternMatcher
methods.
- setFieldSeparator(String, int) - Method in class org.apache.oro.text.MatchActionProcessor
-
Sets the field separator to use when splitting a line into fields.
- setFieldSeparator(String) - Method in class org.apache.oro.text.MatchActionProcessor
-
Sets the field separator to use when splitting a line into fields.
- setFilterExpression(String) - Method in class org.apache.oro.io.RegexFilenameFilter
-
Set the regular expression on which to filter.
- setFilterExpression(String, int) - Method in class org.apache.oro.io.RegexFilenameFilter
-
Set the regular expression on which to filter along with any
special options to use when compiling the expression.
- setInput(String, int, int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Associates a region of a String as input
to be used for pattern matching by PatternMatcher objects.
- setInput(String) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
This method is identical to calling:
- setInput(char[], int, int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Associates a region of a string (represented as a char[]) as input
to be used for pattern matching by PatternMatcher objects.
- setInput(char[]) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
This method is identical to calling:
- setMatchOffsets(int, int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
This method is intended for use by PatternMatcher implementations.
- setMultiline(boolean) - Method in class org.apache.oro.text.regex.Perl5Matcher
-
Set whether or not subsequent calls to
matches()
or
contains()
should treat the input as
consisting of multiple lines.
- setSubstitution(String) - Method in class org.apache.oro.text.regex.Perl5Substitution
-
- setSubstitution(String, int) - Method in class org.apache.oro.text.regex.Perl5Substitution
-
Sets the substitution represented by this Perl5Substitution, also
setting the number of interpolations to the specified value.
- setSubstitution(String) - Method in class org.apache.oro.text.regex.StringSubstitution
-
Sets the substitution represented by this StringSubstitution.
- SINGLELINE_MASK - Static variable in class org.apache.oro.text.regex.Perl5Compiler
-
A mask passed as an option to the
compile
methods
to indicate a compiled regular expression should treat input as being
a single line.
- size() - Method in class org.apache.oro.text.GenericPatternCache
-
Returns the number of elements in the cache, not to be confused with
the
GenericPatternCache.capacity()
which returns the number
of elements that can be held in the cache at one time.
- size() - Method in interface org.apache.oro.text.PatternCache
-
Returns the number of elements in the cache, not to be confused with
the
PatternCache.capacity()
which returns the number
of elements that can be held in the cache at one time.
- size() - Method in interface org.apache.oro.util.Cache
-
Returns the number of elements in the cache, not to be confused with
the
Cache.capacity()
which returns the number
of elements that can be held in the cache at one time.
- size() - Method in class org.apache.oro.util.GenericCache
-
Returns the number of elements in the cache, not to be confused with
the
capacity()
which returns the number
of elements that can be held in the cache at one time.
- split(Collection, String, String, int) - Method in class org.apache.oro.text.perl.Perl5Util
-
Splits a String into strings that are appended to a List, but no more
than a specified limit.
- split(Collection, String, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
This method is identical to calling:
- split(Collection, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
Splits input in the default Perl manner, splitting on all whitespace.
- split(String, String, int) - Method in class org.apache.oro.text.perl.Perl5Util
-
- split(String, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
- split(String) - Method in class org.apache.oro.text.perl.Perl5Util
-
- split(Collection, PatternMatcher, Pattern, String, int) - Static method in class org.apache.oro.text.regex.Util
-
Splits up a String
instance and stores results as a
List
of substrings numbering no more than a specified
limit.
- split(Collection, PatternMatcher, Pattern, String) - Static method in class org.apache.oro.text.regex.Util
-
Splits up a String
instance and stores results as a
Collection
of all its substrings using a regular expression
as the delimiter.
- split(PatternMatcher, Pattern, String, int) - Static method in class org.apache.oro.text.regex.Util
-
- split(PatternMatcher, Pattern, String) - Static method in class org.apache.oro.text.regex.Util
-
- SPLIT_ALL - Static variable in class org.apache.oro.text.perl.Perl5Util
-
A constant passed to the
split()
methods indicating
that all occurrences of a pattern should be used to split a string.
- SPLIT_ALL - Static variable in class org.apache.oro.text.regex.Util
-
A constant passed to the
split()
methods
indicating that all occurrences of a pattern should be used to
split a string.
- STAR_CANNOT_MATCH_NULL_MASK - Static variable in class org.apache.oro.text.GlobCompiler
-
A mask passed as an option to the
compile
methods
to indicate that a * should not be allowed to match the null string.
- StringSubstitution - Class in org.apache.oro.text.regex
-
StringSubstitution implements a Substitution consisting of a simple
literal string.
- StringSubstitution() - Constructor for class org.apache.oro.text.regex.StringSubstitution
-
Default constructor initializing substitution to a zero length
String.
- StringSubstitution(String) - Constructor for class org.apache.oro.text.regex.StringSubstitution
-
Creates a StringSubstitution representing the given string.
- substitute(StringBuffer, String, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
Substitutes a pattern in a given input with a replacement string.
- substitute(String, String) - Method in class org.apache.oro.text.perl.Perl5Util
-
Substitutes a pattern in a given input with a replacement string.
- substitute(PatternMatcher, Pattern, Substitution, String, int) - Static method in class org.apache.oro.text.regex.Util
-
Searches a string for a pattern and replaces the first occurrences
of the pattern with a Substitution up to the number of
substitutions specified by the numSubs parameter.
- substitute(PatternMatcher, Pattern, Substitution, String) - Static method in class org.apache.oro.text.regex.Util
-
Searches a string for a pattern and substitutes only the first
occurence of the pattern.
- substitute(StringBuffer, PatternMatcher, Pattern, Substitution, String, int) - Static method in class org.apache.oro.text.regex.Util
-
Searches a string for a pattern and replaces the first occurrences
of the pattern with a Substitution up to the number of
substitutions specified by the numSubs parameter.
- substitute(StringBuffer, PatternMatcher, Pattern, Substitution, PatternMatcherInput, int) - Static method in class org.apache.oro.text.regex.Util
-
Searches a string for a pattern and replaces the first occurrences
of the pattern with a Substitution up to the number of
substitutions specified by the numSubs parameter.
- SUBSTITUTE_ALL - Static variable in class org.apache.oro.text.regex.Util
-
A constant passed to the
substitute()
methods indicating that all occurrences of a pattern should be
substituted.
- Substitution - Interface in org.apache.oro.text.regex
-
The Substitution interface provides a means for you to control how
a substitution is performed when using the
Util.substitute
method.
- substring(int, int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Returns a new string that is a substring of the PatternMatcherInput
instance.
- substring(int) - Method in class org.apache.oro.text.regex.PatternMatcherInput
-
Returns a new string that is a substring of the PatternMatcherInput
instance.