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

B

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.
charAt(int). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns the character at a particular offset relative to the begin offset of the input.
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 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[], 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 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, 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
getBuffer(). Method in class com.oroinc.text.regex.PatternMatcherInput
Retrieves the char[] buffer to be used used as input by PatternMatcher implementations to look for matches.
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.
getMatchBeginOffset(). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns the offset marking the beginning of the match found by contains().
getMatchEndOffset(). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns the offset marking the end of the match found by contains().
getOptions(). Method in interface com.oroinc.text.regex.Pattern
This method returns an integer containing the compilation options used to compile this pattern.
getOptions(). Method in class com.oroinc.text.regex.Perl5Pattern
This method returns an integer containing the compilation options used to compile this pattern.
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.
match(). Method in class com.oroinc.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.
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.
matchesPrefix(char[], Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a prefix of a string (represented as a char[]) matches a given pattern.
matchesPrefix(char[], Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a prefix of a string (represented as a char[]) matches a given pattern.
matchesPrefix(char[], Pattern, int). Method in interface com.oroinc.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 com.oroinc.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(PatternMatcherInput, Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a prefix of a PatternMatcherInput instance matches a given pattern.
matchesPrefix(PatternMatcherInput, Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a prefix of a PatternMatcherInput instance matches a given pattern.
matchesPrefix(String, Pattern). Method in interface com.oroinc.text.regex.PatternMatcher
Determines if a prefix of a string matches a given pattern.
matchesPrefix(String, Pattern). Method in class com.oroinc.text.regex.Perl5Matcher
Determines if a prefix of a string 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
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.
postMatch(). Method in class com.oroinc.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.
preMatch(). Method in class com.oroinc.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.
printProgram(Perl5Pattern). Static method in class com.oroinc.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.

Q

quotemeta(char[]). Static method in class com.oroinc.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 com.oroinc.text.regex.Perl5Compiler
Given a character string, returns a Perl5 expression that interprets each character of the original string literally.

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.
setMatchOffsets(int, int). Method in class com.oroinc.text.regex.PatternMatcherInput
This method is intended for use by PatternMatcher implementations.
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.
substring(int). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns a new string that is a substring of the PatternMatcherInput instance.
substring(int, int). Method in class com.oroinc.text.regex.PatternMatcherInput
Returns a new string that is a substring of the PatternMatcherInput instance.

T

toString(). Method in interface com.oroinc.text.regex.MatchResult
Returns the same as group(0).
toString(). Method in class com.oroinc.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.