Jakarta-ORO 2.0.6 API: Index
A B C D E F G I K L M O P Q R S T U
A
accept(File) -
Method in class org.apache.oro.io.RegexFilenameFilter
Filters a filename.
accept(File, String) -
Method in class org.apache.oro.io.RegexFilenameFilter
Filters a filename.
addAction(String) -
Method in class org.apache.oro.text.MatchActionProcessor
Binds a patten to the default action.
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, 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, MatchAction) -
Method in class org.apache.oro.text.MatchActionProcessor
Registers a pattern action pair.
addElement(Object, Object) -
Method in class org.apache.oro.util.GenericCache
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.CacheFIFO
Adds a value to the cache.
addElement(Object, Object) -
Method in interface org.apache.oro.util.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.CacheFIFO2
Adds a value to the cache.
addPattern(String) -
Method in interface org.apache.oro.text.PatternCache
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, int) -
Method in interface org.apache.oro.text.PatternCache
Adds a pattern to the cache and returns the compiled pattern.
addPattern(String, int) -
Method in class org.apache.oro.text.GenericPatternCache
Adds a pattern to the cache and returns the compiled pattern.
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.
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 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.
AwkCompiler - class org.apache.oro.text.awk.AwkCompiler .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 org.apache.oro.io.AwkFilenameFilter .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() -
Constructor for class org.apache.oro.io.AwkFilenameFilter
Same as AwkFilenameFilter("");
AwkFilenameFilter(String) -
Constructor for class org.apache.oro.io.AwkFilenameFilter
Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);
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
AwkMatcher - class org.apache.oro.text.awk.AwkMatcher .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 org.apache.oro.text.awk.AwkPattern .An implementation of the Pattern interface for Awk regular expressions. AwkStreamInput - class org.apache.oro.text.awk.AwkStreamInput .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) -
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.
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.
B
begin(int) -
Method in interface org.apache.oro.text.regex.MatchResult
begin(int) -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the begin offset of the subgroup of the last match found
relative the beginning of the match.
beginOffset(int) -
Method in interface org.apache.oro.text.regex.MatchResult
Returns an offset marking the beginning of the pattern match
relative to the beginning of the input from which the match
was extracted.
beginOffset(int) -
Method in class org.apache.oro.text.perl.Perl5Util
Returns an offset marking the beginning of the last pattern match
found relative to the beginning of the input from which the match
was extracted.
C
Cache - interface org.apache.oro.util.Cache .An interface defining the basic functions of a cache. CacheFIFO - class org.apache.oro.util.CacheFIFO .This class is a GenericCache subclass implementing a FIFO (First
In First Out) cache replacement policy. CacheFIFO() -
Constructor for class org.apache.oro.util.CacheFIFO
Same as:
CacheFIFO(int) -
Constructor for class org.apache.oro.util.CacheFIFO
Creates a CacheFIFO instance with a given cache capacity.
CacheFIFO2 - class org.apache.oro.util.CacheFIFO2 .This class is a GenericCache subclass implementing a second
chance FIFO (First In First Out) cache replacement policy. CacheFIFO2() -
Constructor for class org.apache.oro.util.CacheFIFO2
Same as:
CacheFIFO2(int) -
Constructor for class org.apache.oro.util.CacheFIFO2
Creates a CacheFIFO2 instance with a given cache capacity.
CacheLRU - class org.apache.oro.util.CacheLRU .This class is a GenericCache subclass implementing an LRU
(Least Recently Used) cache replacement policy. CacheLRU() -
Constructor for class org.apache.oro.util.CacheLRU
Same as:
CacheLRU(int) -
Constructor for class org.apache.oro.util.CacheLRU
Creates a CacheLRU instance with a given cache capacity.
CacheRandom - class org.apache.oro.util.CacheRandom .This class is a GenericCache subclass implementing a random
cache replacement policy. CacheRandom() -
Constructor for class org.apache.oro.util.CacheRandom
Same as:
CacheRandom(int) -
Constructor for class org.apache.oro.util.CacheRandom
Creates a CacheRandom instance with a given cache capacity.
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 class org.apache.oro.text.GenericPatternCache
Returns the maximum number of patterns 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.
capacity() -
Method in interface org.apache.oro.util.Cache
Returns the maximum number of elements that can be cached at one time.
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.
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.
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[]) -
Method in class org.apache.oro.text.GlobCompiler
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
compile(char[]) -
Method in class org.apache.oro.text.regex.Perl5Compiler
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
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[]) -
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[], 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[], 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.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) -
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.regex.Perl5Compiler
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
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) -
Method in class org.apache.oro.text.awk.AwkCompiler
Same as calling compile(pattern, AwkCompiler.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, 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(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(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.
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(char[], Pattern) -
Method in interface org.apache.oro.text.regex.PatternMatcher
Determines if a string (represented as a char[]) 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(char[], Pattern) -
Method in class org.apache.oro.text.awk.AwkMatcher
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(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.
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(String, Pattern) -
Method in interface org.apache.oro.text.regex.PatternMatcher
Determines if a string contains a pattern.
contains(String, Pattern) -
Method in class org.apache.oro.text.regex.Perl5Matcher
Determines if a string contains a pattern.
contains(String, Pattern) -
Method in class org.apache.oro.text.awk.AwkMatcher
Determines if a string contains a pattern.
D
DEFAULT_CAPACITY -
Static variable in class org.apache.oro.text.GenericPatternCache
The default capacity to be used by the GenericPatternCache subclasses
provided with this package.
DEFAULT_CAPACITY -
Static variable in class org.apache.oro.util.GenericCache
The default capacity to be used by the GenericCache subclasses
provided with this package.
DEFAULT_MASK -
Static variable in class org.apache.oro.text.GlobCompiler
The default mask for the compile
methods.
DEFAULT_MASK -
Static variable in class org.apache.oro.text.regex.Perl5Compiler
The default mask for the compile
methods.
DEFAULT_MASK -
Static variable in class org.apache.oro.text.awk.AwkCompiler
The default mask for the compile
methods.
E
end(int) -
Method in interface org.apache.oro.text.regex.MatchResult
end(int) -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the end offset of the subgroup of the last match found
relative the beginning of the match.
endOffset(int) -
Method in interface org.apache.oro.text.regex.MatchResult
Returns an offset marking the end of the pattern match
relative to the beginning of the input from which the match was
extracted.
endOffset(int) -
Method in class org.apache.oro.text.perl.Perl5Util
Returns an offset marking the end of the last pattern match found
relative to the beginning of the input from which the match was
extracted.
endOfInput() -
Method in class org.apache.oro.text.regex.PatternMatcherInput
Returns whether or not the end of the input has been reached.
endOfStream() -
Method in class org.apache.oro.text.awk.AwkStreamInput
EXTENDED_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 treated as a Perl5
extended pattern (i.e., a pattern using the /x modifier).
F
fields -
Variable in class org.apache.oro.text.MatchActionInfo
A List of Strings containing the fields of the line that were
separated out by the fieldSeparator.
fieldSeparator -
Variable in class org.apache.oro.text.MatchActionInfo
The field separator used by the MatchActionProcessor.
G
GenericCache - class org.apache.oro.util.GenericCache .This is the base class for all cache implementations provided in the
org.apache.oro.util package. GenericPatternCache - class org.apache.oro.text.GenericPatternCache .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 class org.apache.oro.util.GenericCache
getElement(Object) -
Method in interface org.apache.oro.util.Cache
getElement(Object) -
Method in class org.apache.oro.util.CacheLRU
getElement(Object) -
Method in class org.apache.oro.util.CacheFIFO2
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 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.
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.
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 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.
getOptions() -
Method in class org.apache.oro.text.awk.AwkPattern
This method returns an integer containing the compilation options used
to compile this pattern.
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.
getPattern() -
Method in class org.apache.oro.text.awk.AwkPattern
This method returns the string representation of the pattern.
getPattern(String) -
Method in interface org.apache.oro.text.PatternCache
This method fetches a pattern from the cache.
getPattern(String) -
Method in class org.apache.oro.text.GenericPatternCache
Same as calling
getPattern(String, int) -
Method in interface org.apache.oro.text.PatternCache
This method fetches a pattern from the cache.
getPattern(String, int) -
Method in class org.apache.oro.text.GenericPatternCache
This method fetches a pattern from the cache.
getSubstitution() -
Method in class org.apache.oro.text.regex.StringSubstitution
Returns the string substitution represented by this object.
GlobCompiler - class org.apache.oro.text.GlobCompiler .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 org.apache.oro.io.GlobFilenameFilter .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() -
Constructor for class org.apache.oro.io.GlobFilenameFilter
Same as GlobFilenameFilter("");
GlobFilenameFilter(String) -
Constructor for class org.apache.oro.io.GlobFilenameFilter
Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
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
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 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.
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.
groups() -
Method in interface org.apache.oro.text.regex.MatchResult
groups() -
Method in class org.apache.oro.text.perl.Perl5Util
I
input -
Variable in class org.apache.oro.text.MatchActionInfo
The input stream passed to the MatchActionProcessor from which the
matching line was read.
INTERPOLATE_ALL -
Static variable in class org.apache.oro.text.regex.Perl5Substitution
A constant used when creating a Perl5Substitution indicating that
interpolation variables should be computed relative to the most
recent pattern match.
INTERPOLATE_NONE -
Static variable in class org.apache.oro.text.regex.Perl5Substitution
A constant used when creating a Perl5Substitution indicating that
interpolation variables should be interpreted literally, effectively
disabling interpolation.
isFull() -
Method in class org.apache.oro.util.GenericCache
isMultiline() -
Method in class org.apache.oro.text.regex.Perl5Matcher
K
keys() -
Method in class org.apache.oro.util.GenericCache
L
length() -
Method in interface org.apache.oro.text.regex.MatchResult
A convenience method returning the length of the entire match.
length() -
Method in class org.apache.oro.text.regex.PatternMatcherInput
length() -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the length of the last match found.
line -
Variable in class org.apache.oro.text.MatchActionInfo
The String representation of the matching line with the trailing
newline truncated.
lineNumber -
Variable in class org.apache.oro.text.MatchActionInfo
The line number of the matching line
M
MalformedCachePatternException - exception org.apache.oro.text.MalformedCachePatternException .An exception used to indicate errors in a regular expression fetched
from a PatternCache. MalformedCachePatternException() -
Constructor for class org.apache.oro.text.MalformedCachePatternException
Simply calls the corresponding constructor of its superclass.
MalformedCachePatternException(String) -
Constructor for class org.apache.oro.text.MalformedCachePatternException
Simply calls the corresponding constructor of its superclass.
MalformedPatternException - exception org.apache.oro.text.regex.MalformedPatternException .A class used to signify the occurrence of a syntax error in a
regular expression that is being compiled. MalformedPatternException() -
Constructor for class org.apache.oro.text.regex.MalformedPatternException
Simply calls the corresponding constructor of its superclass.
MalformedPatternException(String) -
Constructor for class org.apache.oro.text.regex.MalformedPatternException
Simply calls the corresponding constructor of its superclass.
MalformedPerl5PatternException - exception org.apache.oro.text.perl.MalformedPerl5PatternException .An exception used to indicate errors in Perl style regular expressions. MalformedPerl5PatternException() -
Constructor for class org.apache.oro.text.perl.MalformedPerl5PatternException
Simply calls the corresponding constructor of its superclass.
MalformedPerl5PatternException(String) -
Constructor for class 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() -
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.
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, 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(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:
MatchAction - interface org.apache.oro.text.MatchAction .The MatchAction interface provides the callback interface for actions
bound to patterns in
MatchActionProcessor
. MatchActionInfo - class org.apache.oro.text.MatchActionInfo .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 org.apache.oro.text.MatchActionProcessor .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() -
Constructor for class org.apache.oro.text.MatchActionProcessor
Default constructor for MatchActionProcessor.
MatchActionProcessor(PatternCompiler, PatternMatcher) -
Constructor for class org.apache.oro.text.MatchActionProcessor
Creates a new MatchActionProcessor instance initialized with the specified
pattern compiler and matcher.
matcher -
Variable in class org.apache.oro.text.MatchActionInfo
The PatternMatcher used to find the match.
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(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(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(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(PatternMatcherInput, Pattern) -
Method in class org.apache.oro.text.regex.Perl5Matcher
Determines if the contents of a PatternMatcherInput instance
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(String, Pattern) -
Method in class org.apache.oro.text.regex.Perl5Matcher
Determines if a string 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.
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(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(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(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(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, 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(PatternMatcherInput, Pattern) -
Method in interface org.apache.oro.text.regex.PatternMatcher
Determines if a prefix of a PatternMatcherInput instance
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.
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(String, Pattern) -
Method in interface org.apache.oro.text.regex.PatternMatcher
Determines if a prefix of a string 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(String, Pattern) -
Method in class org.apache.oro.text.awk.AwkMatcher
Determines if a prefix of a string matches a given pattern.
MatchResult - interface org.apache.oro.text.regex.MatchResult .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.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.
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.
O
org.apache.oro.io - package org.apache.oro.ioThis package provides FilenameFilters that filter based on a regular
expression and other I/O-related classes that derive their
functionality from regular expressions. org.apache.oro.text - package org.apache.oro.textThis package used to be the TextTools library and provides general
text processing support, including a glob regular expression class,
pattern caching and line-by-line processing classes. org.apache.oro.text.awk - package org.apache.oro.text.awkThis package used to be the AwkTools library and provides AWK-like
regular expression classes that implement the
org.apache.oro.text.regex interfaces. org.apache.oro.text.perl - package org.apache.oro.text.perlThis package used to be the PerlTools library and adds Perl5
regular expression syntactic sugar built on top of the
org.apache.oro.text.regex Perl5 regular expression classes. org.apache.oro.text.regex - package org.apache.oro.text.regexThis package used to be the OROMatcher library and provides both
generic regular expression interfaces and Perl5 regular expression
compatible implementation classes. org.apache.oro.util - package org.apache.oro.utilThis package includes general classes required by org.apache.oro.text and related packages, but that can also be applied to
more general uses. output -
Variable in class org.apache.oro.text.MatchActionInfo
The output stream passed to the MatchActionProcessor.
P
pattern -
Variable in class org.apache.oro.text.MatchActionInfo
The pattern found in the line of input.
Pattern - interface org.apache.oro.text.regex.Pattern .The Pattern interface allows multiple representations of a regular
expression to be defined. PatternCache - interface org.apache.oro.text.PatternCache .An interface defining the basic functions of a regular expression
cache. PatternCacheFIFO - class org.apache.oro.text.PatternCacheFIFO .This class is a GenericPatternCache subclass implementing a FIFO (First
In First Out) cache replacement policy. PatternCacheFIFO() -
Constructor for class org.apache.oro.text.PatternCacheFIFO
Same as:
PatternCacheFIFO(int) -
Constructor for class org.apache.oro.text.PatternCacheFIFO
Same as:
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:
PatternCacheFIFO2 - class org.apache.oro.text.PatternCacheFIFO2 .This class is a GenericPatternCache subclass implementing a second
chance FIFO (First In First Out) cache replacement policy. PatternCacheFIFO2() -
Constructor for class org.apache.oro.text.PatternCacheFIFO2
Same as:
PatternCacheFIFO2(int) -
Constructor for class org.apache.oro.text.PatternCacheFIFO2
Same as:
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:
PatternCacheLRU - class org.apache.oro.text.PatternCacheLRU .This class is a GenericPatternCache subclass implementing an LRU
(Least Recently Used) cache replacement policy. PatternCacheLRU() -
Constructor for class org.apache.oro.text.PatternCacheLRU
Same as:
PatternCacheLRU(int) -
Constructor for class org.apache.oro.text.PatternCacheLRU
Same as:
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:
PatternCacheRandom - class org.apache.oro.text.PatternCacheRandom .This class is a GenericPatternCache subclass implementing a random
cache replacement policy. PatternCacheRandom() -
Constructor for class org.apache.oro.text.PatternCacheRandom
Same as:
PatternCacheRandom(int) -
Constructor for class org.apache.oro.text.PatternCacheRandom
Same as:
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:
PatternCompiler - interface org.apache.oro.text.regex.PatternCompiler .The PatternCompiler interface defines the operations a regular
expression compiler must implement. PatternMatcher - interface org.apache.oro.text.regex.PatternMatcher .The PatternMatcher interface defines the operations a regular
expression matcher must implement. PatternMatcherInput - class org.apache.oro.text.regex.PatternMatcherInput .The PatternMatcherInput class is used to preserve state across
calls to the contains()
methods of PatternMatcher instances. PatternMatcherInput(char[]) -
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(String) -
Constructor for class org.apache.oro.text.regex.PatternMatcherInput
Like calling
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.
Perl5Compiler - class org.apache.oro.text.regex.Perl5Compiler .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 org.apache.oro.text.regex.Perl5Debug .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 org.apache.oro.io.Perl5FilenameFilter .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() -
Constructor for class org.apache.oro.io.Perl5FilenameFilter
Same as Perl5FilenameFilter("");
Perl5FilenameFilter(String) -
Constructor for class org.apache.oro.io.Perl5FilenameFilter
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK);
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
Perl5Matcher - class org.apache.oro.text.regex.Perl5Matcher .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 org.apache.oro.text.regex.Perl5Pattern .An implementation of the Pattern interface for Perl5 regular expressions. Perl5Substitution - class org.apache.oro.text.regex.Perl5Substitution .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
Default constructor initializing substitution to a zero length
String and the number of interpolations to
Perl5Substitution.INTERPOLATE_ALL
.
Perl5Substitution(String) -
Constructor for class org.apache.oro.text.regex.Perl5Substitution
Creates a Perl5Substitution using the specified substitution
and setting the number of interpolations to
Perl5Substitution.INTERPOLATE_ALL
.
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 org.apache.oro.text.perl.Perl5Util .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() -
Constructor for class org.apache.oro.text.perl.Perl5Util
Default constructor for Perl5Util.
Perl5Util(PatternCache) -
Constructor for class org.apache.oro.text.perl.Perl5Util
A secondary constructor for Perl5Util.
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.
postMatch() -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the part of the input following the last match found.
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.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.
preMatch() -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the part of the input preceding the last match found.
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) -
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.
Q
QUESTION_MATCHES_ZERO_OR_ONE_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.
quotemeta(char[]) -
Static method in class org.apache.oro.text.regex.Perl5Compiler
Given a character string, returns a Perl5 expression that interprets
each character of the original string literally.
quotemeta(String) -
Static method in class org.apache.oro.text.regex.Perl5Compiler
Given a character string, returns a Perl5 expression that interprets
each character of the original string literally.
R
READ_ONLY_MASK -
Static variable in class org.apache.oro.text.GlobCompiler
A mask passed as an option to the compile
methods
to indicate that the resulting Perl5Pattern should be treated as a
read only data structure by Perl5Matcher, making it safe to share
a single Perl5Pattern instance among multiple threads without needing
synchronization.
READ_ONLY_MASK -
Static variable in class org.apache.oro.text.regex.Perl5Compiler
A mask passed as an option to the compile
methods
to indicate that the resulting Perl5Pattern should be treated as a
read only data structure by Perl5Matcher, making it safe to share
a single Perl5Pattern instance among multiple threads without needing
synchronization.
RegexFilenameFilter - class org.apache.oro.io.RegexFilenameFilter .RegexFilenameFilter is the base class for a set of FilenameFilter
implementations that filter based on a regular expression.
S
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) -
Method in class org.apache.oro.text.MatchActionProcessor
Sets the field separator to use when splitting a line into fields.
setFieldSeparator(String, int) -
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(char[]) -
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(String) -
Method in class org.apache.oro.text.regex.PatternMatcherInput
This method is identical to calling:
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.
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.StringSubstitution
Sets the substitution represented by this StringSubstitution.
setSubstitution(String) -
Method in class org.apache.oro.text.regex.Perl5Substitution
Sets the substitution represented by this Perl5Substitution, also
setting the number of interpolations to
Perl5Substitution.INTERPOLATE_ALL
.
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.
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 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 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 class org.apache.oro.util.GenericCache
Returns the number of elements in the cache, not to be confused with
the GenericCache.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.
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.
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(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(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, String) -
Method in class org.apache.oro.text.perl.Perl5Util
Splits input in the default Perl manner, splitting on all whitespace.
split(Collection, String, String) -
Method in class org.apache.oro.text.perl.Perl5Util
This method is identical to calling:
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(PatternMatcher, Pattern, String) -
Static method in class org.apache.oro.text.regex.Util
Deprecated. Use
Util.split(Collection, PatternMatcher, Pattern, String)
instead.
split(PatternMatcher, Pattern, String, int) -
Static method in class org.apache.oro.text.regex.Util
Deprecated. Use
Util.split(Collection, PatternMatcher, Pattern, String, int)
instead.
split(String) -
Method in class org.apache.oro.text.perl.Perl5Util
Deprecated. Use
Perl5Util.split(Collection results, String input)
instead.
split(String, String) -
Method in class org.apache.oro.text.perl.Perl5Util
Deprecated. Use
Perl5Util.split(Collection results, String pattern, String input)
instead.
split(String, String, int) -
Method in class org.apache.oro.text.perl.Perl5Util
Deprecated. Use
Perl5Util.split(Collection results, String pattern, String input, int limit)
instead.
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 org.apache.oro.text.regex.StringSubstitution .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_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.
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(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(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, 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.
Substitution - interface org.apache.oro.text.regex.Substitution .The Substitution interface provides a means for you to control how
a substitution is performed when using the
Util.substitute
method. substring(int) -
Method in class org.apache.oro.text.regex.PatternMatcherInput
Returns a new string that is a substring of the PatternMatcherInput
instance.
substring(int, int) -
Method in class org.apache.oro.text.regex.PatternMatcherInput
Returns a new string that is a substring of the PatternMatcherInput
instance.
T
toString() -
Method in interface org.apache.oro.text.regex.MatchResult
Returns the same as group(0).
toString() -
Method in class org.apache.oro.text.regex.StringSubstitution
Returns the same value as StringSubstitution.getSubstitution()
.
toString() -
Method in class org.apache.oro.text.regex.PatternMatcherInput
Returns the string representation of the input, where the input is
considered to start from the begin offset and end at the end offset.
toString() -
Method in class org.apache.oro.text.perl.Perl5Util
Returns the same as group(0).
U
Util - class org.apache.oro.text.regex.Util .The Util class is a holder for useful static utility methods that can
be generically applied to Pattern and PatternMatcher instances.
A B C D E F G I K L M O P Q R S T U
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.