Index of all Fields and Methods
All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

begin(int). Method in interface com.oroinc.text.regex.MatchResult
beginOffset(int). Method in interface com.oroinc.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.

C

CASE_INSENSITIVE_MASK. Static variable in class com.oroinc.text.regex.Perl5Compiler
A mask passed as an option to the compile methods to indicate a compiled regular expression should be case insensitive.
compile(char[]). Method in interface com.oroinc.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 com.oroinc.text.regex.Perl5Compiler
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);

compile(char[], int). Method in class com.oroinc.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). Method in interface com.oroinc.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 com.oroinc.text.regex.Perl5Compiler
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);

compile(String, int). Method in class com.oroinc.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 interface com.oroinc.text.regex.PatternMatcher
Determines if a string (represented as a char[]) contains a pattern.
contains(char[], Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a string (represented as a char[]) contains a pattern.
contains(PatternMatcherInput, Pattern). Method in interface com.oroinc.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 com.oroinc.text.regex.Perl5Matcher
Determines if the contents of a PatternMatcherInput, starting from the current offset of the input contains a pattern.
contains(Perl5StreamInput, Perl5Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if the contents of a Perl5StreamInput, starting from the current offset of the input contains a pattern.
contains(String, Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a string contains a pattern.
contains(String, Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a string contains a pattern.

D

DEFAULT_MASK. Static variable in class com.oroinc.text.regex.Perl5Compiler
The default mask for the compile methods.

E

end(int). Method in interface com.oroinc.text.regex.MatchResult
endOffset(int). Method in interface com.oroinc.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.
endOfInput(). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns whether or not the end of the input has been reached.
endOfStream(). Method in class com.oroinc.text.regex.Perl5StreamInput
EXTENDED_MASK. Static variable in class com.oroinc.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).

G

getBeginOffset(). Method in class com.oroinc.text.regex.PatternMatcherInput
getCurrentOffset(). Method in class com.oroinc.text.regex.PatternMatcherInput
getEndOffset(). Method in class com.oroinc.text.regex.PatternMatcherInput
getInput(). Method in class com.oroinc.text.regex.PatternMatcherInput
Retrieves the original input used to initialize the PatternMatcherInput instance.
getMatch(). Method in interface com.oroinc.text.regex.PatternMatcher
Fetches the last match found by a call to a matches() or contains() method.
getMatch(). Method in class com.oroinc.text.regex.Perl5Matcher
Fetches the last match found by a call to a matches() or contains() method.
getPattern(). Method in interface com.oroinc.text.regex.Pattern
This method returns the string representation of the pattern.
getPattern(). Method in class com.oroinc.text.regex.Perl5Pattern
This method returns the string representation of the pattern.
group(int). Method in interface com.oroinc.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 interface com.oroinc.text.regex.MatchResult

I

INTERPOLATE_ALL. Static variable in class com.oroinc.text.regex.Util
A constant passed to the substitute() methods indicating that interpolation variables should be computed relative to the most recent pattern match.
INTERPOLATE_NONE. Static variable in class com.oroinc.text.regex.Util
A constant passed to the substitute() methods indicating that interpolation variables should be interpreted literally, effectively disabling interpolation.
isMultiline(). Method in class com.oroinc.text.regex.Perl5Matcher

L

length(). Method in interface com.oroinc.text.regex.MatchResult
A convenience method returning the length of the entire match.
length(). Method in class com.oroinc.text.regex.PatternMatcherInput

M

MalformedPatternException(). Constructor for class com.oroinc.text.regex.MalformedPatternException
Simply calls the corresponding constructor of its superclass.
MalformedPatternException(String). Constructor for class com.oroinc.text.regex.MalformedPatternException
Simply calls the corresponding constructor of its superclass.
matches(char[], Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a string (represented as a char[]) exactly matches a given pattern.
matches(char[], Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a string (represented as a char[]) exactly matches a given pattern.
matches(PatternMatcherInput, Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern.
matches(PatternMatcherInput, Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if the contents of a PatternMatcherInput instance exactly matches a given pattern.
matches(String, Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a string exactly matches a given pattern.
matches(String, Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a string exactly matches a given pattern.
MULTILINE_MASK. Static variable in class com.oroinc.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.

P

PatternMatcherInput(char[]). Constructor for class com.oroinc.text.regex.PatternMatcherInput
Like calling:
PatternMatcherInput(input, 0, input.length);

PatternMatcherInput(char[], int, int). Constructor for class com.oroinc.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 com.oroinc.text.regex.PatternMatcherInput
Like calling
PatternMatcherInput(input, 0, input.length());

PatternMatcherInput(String, int, int). Constructor for class com.oroinc.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(). Constructor for class com.oroinc.text.regex.Perl5Compiler
Perl5Debug(). Constructor for class com.oroinc.text.regex.Perl5Debug
Perl5Matcher(). Constructor for class com.oroinc.text.regex.Perl5Matcher
Perl5StreamInput(InputStream). Constructor for class com.oroinc.text.regex.Perl5StreamInput
Creates a Perl5StreamInput instance bound to an InputStream with an initial buffer size and default buffer increment of 4096 bytes.
Perl5StreamInput(InputStream, int). Constructor for class com.oroinc.text.regex.Perl5StreamInput
Creates a Perl5StreamInput instance bound to an InputStream with a specified initial buffer size and default buffer increment.
printProgram(Perl5Pattern). Static method in class com.oroinc.text.regex.Perl5Debug
This method prints to a String the bytecode program contained in a Perl5Pattern.

S

setBeginOffset(int). Method in class com.oroinc.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 com.oroinc.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 com.oroinc.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.
setInput(char[]). Method in class com.oroinc.text.regex.PatternMatcherInput
This method is identical to calling:
setInput(input, 0, input.length);

setInput(char[], int, int). Method in class com.oroinc.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 com.oroinc.text.regex.PatternMatcherInput
This method is identical to calling:
setInput(input, 0, input.length());

setInput(String, int, int). Method in class com.oroinc.text.regex.PatternMatcherInput
Associates a region of a String as input to be used for pattern matching by PatternMatcher objects.
setMultiline(boolean). Method in class com.oroinc.text.regex.Perl5Matcher
Set whether or not subsequent calls to matches() or contains() should treat the input as consisting of multiple lines.
SINGLELINE_MASK. Static variable in class com.oroinc.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.
split(PatternMatcher, Pattern, String). Static method in class com.oroinc.text.regex.Util
Splits up a String instance into a Vector of all its substrings using a regular expression as the delimiter.
split(PatternMatcher, Pattern, String, int). Static method in class com.oroinc.text.regex.Util
Splits up a String instance into strings contained in a Vector of size not greater than a specified limit.
SPLIT_ALL. Static variable in class com.oroinc.text.regex.Util
A constant passed to the split() methods indicating that all occurrences of a pattern should be used to split a string.
substitute(PatternMatcher, Pattern, String, String). Static method in class com.oroinc.text.regex.Util
Searches a string for a pattern and substitutes only the first occurence of the pattern.
substitute(PatternMatcher, Pattern, String, String, int). Static method in class com.oroinc.text.regex.Util
Searches a string for a pattern and substitutes only the first numSubs occurences of the pattern.
substitute(PatternMatcher, Pattern, String, String, int, int). Static method in class com.oroinc.text.regex.Util
Searches a string for a pattern and replaces the first occurrences of the pattern with a substitution string up to the number of substitutions specified by the numSubs parameter.
SUBSTITUTE_ALL. Static variable in class com.oroinc.text.regex.Util
A constant passed to the substitute() methods indicating that all occurrences of a pattern should be substituted.

T

toString(). Method in interface com.oroinc.text.regex.MatchResult
Returns the same as group(0).