类的使用
org.apache.oro.text.regex.MalformedPatternException

使用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.textMalformedPatternException的使用

    修饰符和类型
    方法
    说明
    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.
    final Pattern
    GenericPatternCache.addPattern(String expression)
    Same as calling
    final Pattern
    GenericPatternCache.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.
    GlobCompiler.compile(String pattern)
    Same as calling compile(pattern, GlobCompiler.DEFAULT_MASK);
    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.
  • org.apache.oro.text.awkMalformedPatternException的使用

    修饰符和类型
    方法
    说明
    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.
    AwkCompiler.compile(String pattern)
    Same as calling compile(pattern, AwkCompiler.DEFAULT_MASK);
    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.
  • org.apache.oro.text.regexMalformedPatternException的使用

    修饰符和类型
    方法
    说明
    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.
    PatternCompiler.compile(String pattern)
    Compiles a regular expression into a data structure that can be used by a PatternMatcher implementation to perform pattern matching.
    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.
    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.
    Perl5Compiler.compile(String pattern)
    Same as calling compile(pattern, Perl5Compiler.DEFAULT_MASK);
    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.