- accept(File, String) - 类 中的方法org.apache.oro.io.RegexFilenameFilter
-
Filters a filename.
- accept(File) - 类 中的方法org.apache.oro.io.RegexFilenameFilter
-
Filters a filename.
- addAction(String, int, MatchAction) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Registers a pattern action pair, providing options to be used to
compile the pattern.
- addAction(String, int) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Binds a patten to the default action, providing options to be
used to compile the pattern.
- addAction(String) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Binds a patten to the default action.
- addAction(String, MatchAction) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Registers a pattern action pair.
- addElement(Object, Object) - 接口 中的方法org.apache.oro.util.Cache
-
- addElement(Object, Object) - 类 中的方法org.apache.oro.util.CacheFIFO
-
Adds a value to the cache.
- addElement(Object, Object) - 类 中的方法org.apache.oro.util.CacheFIFO2
-
Adds a value to the cache.
- addElement(Object, Object) - 类 中的方法org.apache.oro.util.CacheLRU
-
Adds a value to the cache.
- addElement(Object, Object) - 类 中的方法org.apache.oro.util.CacheRandom
-
Adds a value to the cache.
- addElement(Object, Object) - 类 中的方法org.apache.oro.util.GenericCache
-
- addPattern(String, int) - 类 中的方法org.apache.oro.text.GenericPatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- addPattern(String) - 类 中的方法org.apache.oro.text.GenericPatternCache
-
Same as calling
addPattern(expression, 0);
- addPattern(String) - 接口 中的方法org.apache.oro.text.PatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- addPattern(String, int) - 接口 中的方法org.apache.oro.text.PatternCache
-
Adds a pattern to the cache and returns the compiled pattern.
- appendSubstitution(StringBuffer, MatchResult, int, PatternMatcherInput, PatternMatcher, Pattern) - 类 中的方法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) - 类 中的方法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) - 接口 中的方法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 - org.apache.oro.text.awk中的类
-
The AwkCompiler class is used to create compiled regular expressions
conforming to the Awk regular expression syntax.
- AwkCompiler() - 类 的构造器org.apache.oro.text.awk.AwkCompiler
-
- AwkFilenameFilter - 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) - 类 的构造器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) - 类 的构造器org.apache.oro.io.AwkFilenameFilter
-
Same as AwkFilenameFilter(regex, AwkCompiler.DEFAULT_MASK);
- AwkFilenameFilter() - 类 的构造器org.apache.oro.io.AwkFilenameFilter
-
Same as AwkFilenameFilter("");
- AwkMatcher - 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() - 类 的构造器org.apache.oro.text.awk.AwkMatcher
-
- AwkPattern - org.apache.oro.text.awk中的类
-
An implementation of the Pattern interface for Awk regular expressions.
- AwkStreamInput - 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) - 类 的构造器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) - 类 的构造器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 - org.apache.oro.util中的接口
-
An interface defining the basic functions of a cache.
- CacheFIFO - org.apache.oro.util中的类
-
This class is a GenericCache subclass implementing a FIFO (First
In First Out) cache replacement policy.
- CacheFIFO(int) - 类 的构造器org.apache.oro.util.CacheFIFO
-
Creates a CacheFIFO instance with a given cache capacity.
- CacheFIFO() - 类 的构造器org.apache.oro.util.CacheFIFO
-
Same as:
CacheFIFO(GenericCache.DEFAULT_CAPACITY);
- CacheFIFO2 - org.apache.oro.util中的类
-
This class is a GenericCache subclass implementing a second
chance FIFO (First In First Out) cache replacement policy.
- CacheFIFO2(int) - 类 的构造器org.apache.oro.util.CacheFIFO2
-
Creates a CacheFIFO2 instance with a given cache capacity.
- CacheFIFO2() - 类 的构造器org.apache.oro.util.CacheFIFO2
-
Same as:
CacheFIFO2(GenericCache.DEFAULT_CAPACITY);
- CacheLRU - org.apache.oro.util中的类
-
This class is a GenericCache subclass implementing an LRU
(Least Recently Used) cache replacement policy.
- CacheLRU(int) - 类 的构造器org.apache.oro.util.CacheLRU
-
Creates a CacheLRU instance with a given cache capacity.
- CacheLRU() - 类 的构造器org.apache.oro.util.CacheLRU
-
Same as:
CacheLRU(GenericCache.DEFAULT_CAPACITY);
- CacheRandom - org.apache.oro.util中的类
-
This class is a GenericCache subclass implementing a random
cache replacement policy.
- CacheRandom(int) - 类 的构造器org.apache.oro.util.CacheRandom
-
Creates a CacheRandom instance with a given cache capacity.
- CacheRandom() - 类 的构造器org.apache.oro.util.CacheRandom
-
Same as:
CacheRandom(GenericCache.DEFAULT_CAPACITY);
- capacity() - 类 中的方法org.apache.oro.text.GenericPatternCache
-
Returns the maximum number of patterns that can be cached at one time.
- capacity() - 接口 中的方法org.apache.oro.text.PatternCache
-
Returns the maximum number of patterns that can be cached at one time.
- capacity() - 接口 中的方法org.apache.oro.util.Cache
-
Returns the maximum number of elements that can be cached at one time.
- capacity() - 类 中的方法org.apache.oro.util.GenericCache
-
Returns the maximum number of elements that can be cached at one time.
- CASE_INSENSITIVE_MASK - 类 中的静态变量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 - 类 中的静态变量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 - 类 中的静态变量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) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Returns the character at a particular offset relative to the begin
offset of the input.
- charLine - 类 中的变量org.apache.oro.text.MatchActionInfo
-
The char[] representation of the matching line with the trailing
newline truncated.
- compile(char[], int) - 类 中的方法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) - 类 中的方法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[]) - 类 中的方法org.apache.oro.text.awk.AwkCompiler
-
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
- compile(String) - 类 中的方法org.apache.oro.text.awk.AwkCompiler
-
Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
- compile(char[], int) - 类 中的方法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[]) - 类 中的方法org.apache.oro.text.GlobCompiler
-
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
- compile(String) - 类 中的方法org.apache.oro.text.GlobCompiler
-
Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
- compile(String, int) - 类 中的方法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) - 接口 中的方法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) - 接口 中的方法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[]) - 接口 中的方法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) - 接口 中的方法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) - 类 中的方法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[]) - 类 中的方法org.apache.oro.text.regex.Perl5Compiler
-
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
- compile(String) - 类 中的方法org.apache.oro.text.regex.Perl5Compiler
-
Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
- compile(String, int) - 类 中的方法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) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(String, Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a string contains a pattern.
- contains(PatternMatcherInput, Pattern) - 类 中的方法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) - 类 中的方法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) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a string contains a pattern.
- contains(char[], Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(PatternMatcherInput, Pattern) - 接口 中的方法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) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string contains a pattern.
- contains(char[], Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string (represented as a char[]) contains a pattern.
- contains(PatternMatcherInput, Pattern) - 类 中的方法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 - org.apache.oro.util中的类
-
This is the base class for all cache implementations provided in the
org.apache.oro.util package.
- GenericPatternCache - org.apache.oro.text中的类
-
This is the base class for all cache implementations provided in the
org.apache.oro.text package.
- getBeginOffset() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
- getBuffer() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Retrieves the char[] buffer to be used used as input by PatternMatcher
implementations to look for matches.
- getCurrentOffset() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
- getElement(Object) - 接口 中的方法org.apache.oro.util.Cache
-
- getElement(Object) - 类 中的方法org.apache.oro.util.CacheFIFO2
-
- getElement(Object) - 类 中的方法org.apache.oro.util.CacheLRU
-
- getElement(Object) - 类 中的方法org.apache.oro.util.GenericCache
-
- getEndOffset() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
- getInput() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Retrieves the original input used to initialize the PatternMatcherInput
instance.
- getMatch() - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatch() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Returns the last match found by a call to a match(), substitute(), or
split() method.
- getMatch() - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatch() - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Fetches the last match found by a call to a matches() or contains()
method.
- getMatchBeginOffset() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Returns the offset marking the beginning of the match found by
contains().
- getMatchEndOffset() - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Returns the offset marking the end of the match found by contains().
- getOptions() - 类 中的方法org.apache.oro.text.awk.AwkPattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getOptions() - 接口 中的方法org.apache.oro.text.regex.Pattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getOptions() - 类 中的方法org.apache.oro.text.regex.Perl5Pattern
-
This method returns an integer containing the compilation options used
to compile this pattern.
- getPattern() - 类 中的方法org.apache.oro.text.awk.AwkPattern
-
This method returns the string representation of the pattern.
- getPattern(String, int) - 类 中的方法org.apache.oro.text.GenericPatternCache
-
This method fetches a pattern from the cache.
- getPattern(String) - 类 中的方法org.apache.oro.text.GenericPatternCache
-
Same as calling
getPattern(expression, 0)
- getPattern(String) - 接口 中的方法org.apache.oro.text.PatternCache
-
This method fetches a pattern from the cache.
- getPattern(String, int) - 接口 中的方法org.apache.oro.text.PatternCache
-
This method fetches a pattern from the cache.
- getPattern() - 接口 中的方法org.apache.oro.text.regex.Pattern
-
This method returns the string representation of the pattern.
- getPattern() - 类 中的方法org.apache.oro.text.regex.Perl5Pattern
-
This method returns the string representation of the pattern.
- getSubstitution() - 类 中的方法org.apache.oro.text.regex.StringSubstitution
-
Returns the string substitution represented by this object.
- GlobCompiler - 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() - 类 的构造器org.apache.oro.text.GlobCompiler
-
The default GlobCompiler constructor.
- GlobFilenameFilter - 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) - 类 的构造器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) - 类 的构造器org.apache.oro.io.GlobFilenameFilter
-
Same as GlobFilenameFilter(regex, GlobCompiler.DEFAULT_MASK);
- GlobFilenameFilter() - 类 的构造器org.apache.oro.io.GlobFilenameFilter
-
Same as GlobFilenameFilter("");
- globToPerl5(char[], int) - 类 中的静态方法org.apache.oro.text.GlobCompiler
-
This static method is the basic engine of the Glob PatternCompiler
implementation.
- group(int) - 类 中的方法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) - 接口 中的方法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() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
- groups() - 接口 中的方法org.apache.oro.text.regex.MatchResult
-
- MalformedCachePatternException - org.apache.oro.text中的异常错误
-
An exception used to indicate errors in a regular expression fetched
from a PatternCache.
- MalformedCachePatternException() - 异常错误 的构造器org.apache.oro.text.MalformedCachePatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedCachePatternException(String) - 异常错误 的构造器org.apache.oro.text.MalformedCachePatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPatternException - 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() - 异常错误 的构造器org.apache.oro.text.regex.MalformedPatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPatternException(String) - 异常错误 的构造器org.apache.oro.text.regex.MalformedPatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPerl5PatternException - org.apache.oro.text.perl中的异常错误
-
An exception used to indicate errors in Perl style regular expressions.
- MalformedPerl5PatternException() - 异常错误 的构造器org.apache.oro.text.perl.MalformedPerl5PatternException
-
Simply calls the corresponding constructor of its superclass.
- MalformedPerl5PatternException(String) - 异常错误 的构造器org.apache.oro.text.perl.MalformedPerl5PatternException
-
Simply calls the corresponding constructor of its superclass.
- match - 类 中的变量org.apache.oro.text.MatchActionInfo
-
The first match found in the line of input.
- match(String, char[]) - 类 中的方法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:
[m]/pattern/[i][m][s][x]
The
m prefix is optional and the meaning of the optional
trailing options are:
i case insensitive match
m treat the input as consisting of multiple lines
s treat the input as consisting of a single line
x enable extended expression syntax incorporating whitespace
and comments
As with Perl, any non-alphanumeric character can be used in lieu of
the slashes.
- match(String, String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Searches for the first pattern match in a String taking
a pattern specified in Perl5 native format:
[m]/pattern/[i][m][s][x]
The
m prefix is optional and the meaning of the optional
trailing options are:
i case insensitive match
m treat the input as consisting of multiple lines
s treat the input as consisting of a single line
x enable extended expression syntax incorporating whitespace
and comments
As with Perl, any non-alphanumeric character can be used in lieu of
the slashes.
- match(String, PatternMatcherInput) - 类 中的方法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:
[m]/pattern/[i][m][s][x]
The
m prefix is optional and the meaning of the optional
trailing options are:
i case insensitive match
m treat the input as consisting of multiple lines
s treat the input as consisting of a single line
x enable extended expression syntax incorporating whitespace
and comments
As with Perl, any non-alphanumeric character can be used in lieu of
the slashes.
- match() - 类 中的方法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 - org.apache.oro.text中的接口
-
The MatchAction interface provides the callback interface for actions
bound to patterns in
MatchActionProcessor.
- MatchActionInfo - org.apache.oro.text中的类
-
This class is used to provide information regarding a match found by
MatchActionProcessor to a MatchAction callback implementation.
- MatchActionInfo() - 类 的构造器org.apache.oro.text.MatchActionInfo
-
- MatchActionProcessor - 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) - 类 的构造器org.apache.oro.text.MatchActionProcessor
-
Creates a new MatchActionProcessor instance initialized with the specified
pattern compiler and matcher.
- MatchActionProcessor() - 类 的构造器org.apache.oro.text.MatchActionProcessor
-
Default constructor for MatchActionProcessor.
- matcher - 类 中的变量org.apache.oro.text.MatchActionInfo
-
The PatternMatcher used to find the match.
- matches(char[], Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a string (represented as a char[]) exactly
matches a given pattern.
- matches(String, Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a string exactly matches a given pattern.
- matches(PatternMatcherInput, Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matches(String, Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a string exactly matches a given pattern.
- matches(char[], Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a string (represented as a char[]) exactly matches
a given pattern.
- matches(PatternMatcherInput, Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matches(char[], Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string (represented as a char[]) exactly
matches a given pattern.
- matches(String, Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a string exactly matches a given pattern.
- matches(PatternMatcherInput, Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if the contents of a PatternMatcherInput instance
exactly matches a given pattern.
- matchesPrefix(char[], Pattern, int) - 类 中的方法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) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(String, Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - 类 中的方法org.apache.oro.text.awk.AwkMatcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- matchesPrefix(char[], Pattern, int) - 接口 中的方法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) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(char[], Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - 接口 中的方法org.apache.oro.text.regex.PatternMatcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- matchesPrefix(char[], Pattern, int) - 类 中的方法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) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a string (represented as a char[])
matches a given pattern.
- matchesPrefix(String, Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a string matches a given pattern.
- matchesPrefix(PatternMatcherInput, Pattern) - 类 中的方法org.apache.oro.text.regex.Perl5Matcher
-
Determines if a prefix of a PatternMatcherInput instance
matches a given pattern.
- MatchResult - 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 - 类 中的静态变量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 - 类 中的静态变量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 - 类 中的变量org.apache.oro.text.MatchActionInfo
-
The pattern found in the line of input.
- Pattern - org.apache.oro.text.regex中的接口
-
The Pattern interface allows multiple representations of a regular
expression to be defined.
- PatternCache - org.apache.oro.text中的接口
-
An interface defining the basic functions of a regular expression
cache.
- PatternCacheFIFO - org.apache.oro.text中的类
-
This class is a GenericPatternCache subclass implementing a FIFO (First
In First Out) cache replacement policy.
- PatternCacheFIFO(int, PatternCompiler) - 类 的构造器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) - 类 的构造器org.apache.oro.text.PatternCacheFIFO
-
Same as:
PatternCacheFIFO(GenericPatternCache.DEFAULT_CAPACITY, compiler);
- PatternCacheFIFO(int) - 类 的构造器org.apache.oro.text.PatternCacheFIFO
-
Same as:
PatternCacheFIFO(capacity, new Perl5Compiler());
- PatternCacheFIFO() - 类 的构造器org.apache.oro.text.PatternCacheFIFO
-
Same as:
PatternCacheFIFO(GenericPatternCache.DEFAULT_CAPACITY);
- PatternCacheFIFO2 - 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) - 类 的构造器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) - 类 的构造器org.apache.oro.text.PatternCacheFIFO2
-
Same as:
PatternCacheFIFO2(GenericPatternCache.DEFAULT_CAPACITY, compiler);
- PatternCacheFIFO2(int) - 类 的构造器org.apache.oro.text.PatternCacheFIFO2
-
Same as:
PatternCacheFIFO2(capacity, new Perl5Compiler());
- PatternCacheFIFO2() - 类 的构造器org.apache.oro.text.PatternCacheFIFO2
-
Same as:
PatternCacheFIFO2(GenericPatternCache.DEFAULT_CAPACITY);
- PatternCacheLRU - org.apache.oro.text中的类
-
This class is a GenericPatternCache subclass implementing an LRU
(Least Recently Used) cache replacement policy.
- PatternCacheLRU(int, PatternCompiler) - 类 的构造器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) - 类 的构造器org.apache.oro.text.PatternCacheLRU
-
Same as:
PatternCacheLRU(GenericPatternCache.DEFAULT_CAPACITY, compiler);
- PatternCacheLRU(int) - 类 的构造器org.apache.oro.text.PatternCacheLRU
-
Same as:
PatternCacheLRU(capacity, new Perl5Compiler());
- PatternCacheLRU() - 类 的构造器org.apache.oro.text.PatternCacheLRU
-
Same as:
PatternCacheLRU(GenericPatternCache.DEFAULT_CAPACITY);
- PatternCacheRandom - org.apache.oro.text中的类
-
This class is a GenericPatternCache subclass implementing a random
cache replacement policy.
- PatternCacheRandom(int, PatternCompiler) - 类 的构造器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) - 类 的构造器org.apache.oro.text.PatternCacheRandom
-
Same as:
PatternCacheRandom(GenericPatternCache.DEFAULT_CAPACITY, compiler);
- PatternCacheRandom(int) - 类 的构造器org.apache.oro.text.PatternCacheRandom
-
Same as:
PatternCacheRandom(capacity, new Perl5Compiler());
- PatternCacheRandom() - 类 的构造器org.apache.oro.text.PatternCacheRandom
-
Same as:
PatternCacheRandom(GenericPatternCache.DEFAULT_CAPACITY);
- PatternCompiler - org.apache.oro.text.regex中的接口
-
The PatternCompiler interface defines the operations a regular
expression compiler must implement.
- PatternMatcher - org.apache.oro.text.regex中的接口
-
The PatternMatcher interface defines the operations a regular
expression matcher must implement.
- PatternMatcherInput - 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) - 类 的构造器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) - 类 的构造器org.apache.oro.text.regex.PatternMatcherInput
-
Like calling
PatternMatcherInput(input, 0, input.length());
- PatternMatcherInput(char[], int, int) - 类 的构造器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[]) - 类 的构造器org.apache.oro.text.regex.PatternMatcherInput
-
Like calling:
PatternMatcherInput(input, 0, input.length);
- Perl5Compiler - org.apache.oro.text.regex中的类
-
The Perl5Compiler class is used to create compiled regular expressions
conforming to the Perl5 regular expression syntax.
- Perl5Compiler() - 类 的构造器org.apache.oro.text.regex.Perl5Compiler
-
- Perl5Debug - 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 - 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) - 类 的构造器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) - 类 的构造器org.apache.oro.io.Perl5FilenameFilter
-
Same as Perl5FilenameFilter(regex, Perl5Compiler.DEFAULT_MASK);
- Perl5FilenameFilter() - 类 的构造器org.apache.oro.io.Perl5FilenameFilter
-
Same as Perl5FilenameFilter("");
- Perl5Matcher - 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() - 类 的构造器org.apache.oro.text.regex.Perl5Matcher
-
- Perl5Pattern - org.apache.oro.text.regex中的类
-
An implementation of the Pattern interface for Perl5 regular expressions.
- Perl5Substitution - 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() - 类 的构造器org.apache.oro.text.regex.Perl5Substitution
-
- Perl5Substitution(String) - 类 的构造器org.apache.oro.text.regex.Perl5Substitution
-
- Perl5Substitution(String, int) - 类 的构造器org.apache.oro.text.regex.Perl5Substitution
-
Creates a Perl5Substitution using the specified substitution
and setting the number of interpolations to the specified value.
- Perl5Util - 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) - 类 的构造器org.apache.oro.text.perl.Perl5Util
-
A secondary constructor for Perl5Util.
- Perl5Util() - 类 的构造器org.apache.oro.text.perl.Perl5Util
-
Default constructor for Perl5Util.
- postMatch() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input following the last match found.
- postMatch() - 类 中的方法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() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input following the last match found as a char
array.
- preMatch() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input preceding the last match found.
- preMatch() - 类 中的方法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() - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Returns the part of the input preceding the last match found as a
char array.
- printProgram(Perl5Pattern) - 类 中的静态方法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) - 接口 中的方法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) - 类 中的方法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) - 类 中的方法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) - 类 中的方法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) - 类 中的方法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) - 类 中的方法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) - 类 中的方法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) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Sets the field separator to use when splitting a line into fields.
- setFieldSeparator(String) - 类 中的方法org.apache.oro.text.MatchActionProcessor
-
Sets the field separator to use when splitting a line into fields.
- setFilterExpression(String) - 类 中的方法org.apache.oro.io.RegexFilenameFilter
-
Set the regular expression on which to filter.
- setFilterExpression(String, int) - 类 中的方法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) - 类 中的方法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) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
This method is identical to calling:
setInput(input, 0, input.length());
- setInput(char[], int, int) - 类 中的方法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[]) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
This method is identical to calling:
setInput(input, 0, input.length);
- setMatchOffsets(int, int) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
This method is intended for use by PatternMatcher implementations.
- setMultiline(boolean) - 类 中的方法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) - 类 中的方法org.apache.oro.text.regex.Perl5Substitution
-
- setSubstitution(String, int) - 类 中的方法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) - 类 中的方法org.apache.oro.text.regex.StringSubstitution
-
Sets the substitution represented by this StringSubstitution.
- SINGLELINE_MASK - 类 中的静态变量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() - 类 中的方法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() - 接口 中的方法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() - 接口 中的方法org.apache.oro.util.Cache
-
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.
- size() - 类 中的方法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.
- split(Collection, String, String, int) - 类 中的方法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) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
This method is identical to calling:
split(results, pattern, input, SPLIT_ALL);
- split(Collection, String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Splits input in the default Perl manner, splitting on all whitespace.
- split(String, String, int) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
- split(String, String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
- split(String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
- split(Collection, PatternMatcher, Pattern, String, int) - 类 中的静态方法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) - 类 中的静态方法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) - 类 中的静态方法org.apache.oro.text.regex.Util
-
- split(PatternMatcher, Pattern, String) - 类 中的静态方法org.apache.oro.text.regex.Util
-
- SPLIT_ALL - 类 中的静态变量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 - 类 中的静态变量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 - 类 中的静态变量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 - org.apache.oro.text.regex中的类
-
StringSubstitution implements a Substitution consisting of a simple
literal string.
- StringSubstitution() - 类 的构造器org.apache.oro.text.regex.StringSubstitution
-
Default constructor initializing substitution to a zero length
String.
- StringSubstitution(String) - 类 的构造器org.apache.oro.text.regex.StringSubstitution
-
Creates a StringSubstitution representing the given string.
- substitute(StringBuffer, String, String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Substitutes a pattern in a given input with a replacement string.
- substitute(String, String) - 类 中的方法org.apache.oro.text.perl.Perl5Util
-
Substitutes a pattern in a given input with a replacement string.
- substitute(PatternMatcher, Pattern, Substitution, String, int) - 类 中的静态方法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) - 类 中的静态方法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) - 类 中的静态方法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) - 类 中的静态方法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 - 类 中的静态变量org.apache.oro.text.regex.Util
-
A constant passed to the
substitute()
methods indicating that all occurrences of a pattern should be
substituted.
- Substitution - 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) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Returns a new string that is a substring of the PatternMatcherInput
instance.
- substring(int) - 类 中的方法org.apache.oro.text.regex.PatternMatcherInput
-
Returns a new string that is a substring of the PatternMatcherInput
instance.