接口的使用
org.apache.oro.text.regex.PatternCompiler
使用PatternCompiler的程序包
程序包
说明
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.
This package used to be the AwkTools library and provides AWK-like
regular expression classes that implement the
org.apache.oro.text.regex interfaces.This package used to be the OROMatcher library and provides both
generic regular expression interfaces and Perl5 regular expression
compatible implementation classes.
-
org.apache.oro.text中PatternCompiler的使用
修饰符和类型类说明final classThe GlobCompiler class will compile a glob expression into a Perl5Pattern that may be used to match patterns in conjunction with Perl5Matcher.参数类型为PatternCompiler的org.apache.oro.text中的构造器限定符构造器说明MatchActionProcessor(PatternCompiler compiler, PatternMatcher matcher) Creates a new MatchActionProcessor instance initialized with the specified pattern compiler and matcher.PatternCacheFIFO(int capacity, PatternCompiler compiler) Creates a PatternCacheFIFO instance with a given cache capacity, initialized to use a given PatternCompiler instance as a pattern compiler.PatternCacheFIFO(PatternCompiler compiler) Same as:PatternCacheFIFO2(int capacity, PatternCompiler compiler) Creates a PatternCacheFIFO2 instance with a given cache capacity, initialized to use a given PatternCompiler instance as a pattern compiler.PatternCacheFIFO2(PatternCompiler compiler) Same as:PatternCacheLRU(int capacity, PatternCompiler compiler) Creates a PatternCacheLRU instance with a given cache capacity, and initialized to use a given PatternCompiler instance as a pattern compiler.PatternCacheLRU(PatternCompiler compiler) Same as:PatternCacheRandom(int capacity, PatternCompiler compiler) Creates a PatternCacheRandom instance with a given cache capacity and initialized to use a given PatternCompiler instance as a pattern compiler.PatternCacheRandom(PatternCompiler compiler) Same as: -
org.apache.oro.text.awk中PatternCompiler的使用
修饰符和类型类说明final classThe AwkCompiler class is used to create compiled regular expressions conforming to the Awk regular expression syntax. -
org.apache.oro.text.regex中PatternCompiler的使用
修饰符和类型类说明final classThe Perl5Compiler class is used to create compiled regular expressions conforming to the Perl5 regular expression syntax.