| 程序包 | 说明 |
|---|---|
| org.apache.oro.io |
This 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 |
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.perl |
This 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. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RegexFilenameFilter.setFilterExpression(String regex)
Set the regular expression on which to filter.
|
void |
RegexFilenameFilter.setFilterExpression(String regex,
int options)
Set the regular expression on which to filter along with any
special options to use when compiling the expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Pattern |
PatternCache.getPattern(String expression)
This method fetches a pattern from the cache.
|
Pattern |
GenericPatternCache.getPattern(String expression)
Same as calling
getPattern(expression, 0)
|
Pattern |
PatternCache.getPattern(String expression,
int options)
This method fetches a pattern from the cache.
|
Pattern |
GenericPatternCache.getPattern(String expression,
int options)
This method fetches a pattern from the cache.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
MalformedPerl5PatternException
An exception used to indicate errors in Perl style regular expressions.
|
Copyright © 2023. All rights reserved.