类的使用
org.apache.oro.text.regex.MalformedPatternException
程序包
说明
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中MalformedPatternException的使用
修饰符和类型方法说明voidBinds a patten to the default action.voidBinds a patten to the default action, providing options to be used to compile the pattern.voidMatchActionProcessor.addAction(String pattern, int options, MatchAction action) Registers a pattern action pair, providing options to be used to compile the pattern.voidMatchActionProcessor.addAction(String pattern, MatchAction action) Registers a pattern action pair.final PatternGenericPatternCache.addPattern(String expression) Same as callingfinal PatternGenericPatternCache.addPattern(String expression, int options) Adds a pattern to the cache and returns the compiled pattern.PatternCache.addPattern(String expression) Adds a pattern to the cache and returns the compiled pattern.PatternCache.addPattern(String expression, int options) Adds a pattern to the cache and returns the compiled pattern.GlobCompiler.compile(char[] pattern) Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);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.Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);Compiles a Glob expression into a Perl5Pattern instance that can be used by a Perl5Matcher object to perform pattern matching.voidMatchActionProcessor.setFieldSeparator(String separator) Sets the field separator to use when splitting a line into fields.voidMatchActionProcessor.setFieldSeparator(String separator, int options) Sets the field separator to use when splitting a line into fields. -
org.apache.oro.text.awk中MalformedPatternException的使用
修饰符和类型方法说明AwkCompiler.compile(char[] pattern) Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);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.Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);Compiles an Awk regular expression into an AwkPattern instance that can be used by an AwkMatcher object to perform pattern matching. -
org.apache.oro.text.regex中MalformedPatternException的使用
修饰符和类型方法说明PatternCompiler.compile(char[] pattern) Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.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.Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.Perl5Compiler.compile(char[] pattern) Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);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.Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);Compiles a Perl5 regular expression into a Perl5Pattern instance that can be used by a Perl5Matcher object to perform pattern matching.