| 程序包 | 说明 |
|---|---|
| org.apache.oro.text |
This 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 |
This 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.regex |
This package used to be the OROMatcher library and provides both
generic regular expression interfaces and Perl5 regular expression
compatible implementation classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MatchActionProcessor.addAction(String pattern)
Binds a patten to the default action.
|
void |
MatchActionProcessor.addAction(String pattern,
int options)
Binds a patten to the default action, providing options to be
used to compile the pattern.
|
void |
MatchActionProcessor.addAction(String pattern,
int options,
MatchAction action)
Registers a pattern action pair, providing options to be used to
compile the pattern.
|
void |
MatchActionProcessor.addAction(String pattern,
MatchAction action)
Registers a pattern action pair.
|
Pattern |
PatternCache.addPattern(String expression)
Adds a pattern to the cache and returns the compiled pattern.
|
Pattern |
GenericPatternCache.addPattern(String expression)
Same as calling
addPattern(expression, 0);
|
Pattern |
PatternCache.addPattern(String expression,
int options)
Adds a pattern to the cache and returns the compiled pattern.
|
Pattern |
GenericPatternCache.addPattern(String expression,
int options)
Adds a pattern to the cache and returns the compiled pattern.
|
Pattern |
GlobCompiler.compile(char[] pattern)
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
|
Pattern |
GlobCompiler.compile(char[] pattern,
int options)
Compiles a Glob expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
|
Pattern |
GlobCompiler.compile(String pattern)
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
|
Pattern |
GlobCompiler.compile(String pattern,
int options)
Compiles a Glob expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
|
void |
MatchActionProcessor.setFieldSeparator(String separator)
Sets the field separator to use when splitting a line into fields.
|
void |
MatchActionProcessor.setFieldSeparator(String separator,
int options)
Sets the field separator to use when splitting a line into fields.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Pattern |
AwkCompiler.compile(char[] pattern)
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
|
Pattern |
AwkCompiler.compile(char[] pattern,
int options)
Compiles an Awk regular expression into an AwkPattern instance that
can be used by an AwkMatcher object to perform pattern matching.
|
Pattern |
AwkCompiler.compile(String pattern)
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
|
Pattern |
AwkCompiler.compile(String pattern,
int options)
Compiles an Awk regular expression into an AwkPattern instance that
can be used by an AwkMatcher object to perform pattern matching.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Pattern |
Perl5Compiler.compile(char[] pattern)
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
|
Pattern |
PatternCompiler.compile(char[] pattern)
Compiles a regular expression into a data structure that can be used
by a PatternMatcher implementation to perform pattern matching.
|
Pattern |
Perl5Compiler.compile(char[] pattern,
int options)
Compiles a Perl5 regular expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
|
Pattern |
PatternCompiler.compile(char[] pattern,
int options)
Compiles a regular expression into a data structure that can be
used by a PatternMatcher implementation to perform pattern matching.
|
Pattern |
Perl5Compiler.compile(String pattern)
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
|
Pattern |
PatternCompiler.compile(String pattern)
Compiles a regular expression into a data structure that can be used
by a PatternMatcher implementation to perform pattern matching.
|
Pattern |
Perl5Compiler.compile(String pattern,
int options)
Compiles a Perl5 regular expression into a Perl5Pattern instance that
can be used by a Perl5Matcher object to perform pattern matching.
|
Pattern |
PatternCompiler.compile(String pattern,
int options)
Compiles a regular expression into a data structure that can be
used by a PatternMatcher implementation to perform pattern matching.
|
Copyright © 2023. All rights reserved.