com.karneim.util.collection.regex
public class PatternPro extends Pattern
Version: 1.0
| Constructor Summary | |
|---|---|
| protected | PatternPro(ISet_char fullSet) |
| protected | PatternPro(Automaton_Pattern automaton) |
| PatternPro() | |
| PatternPro(PAutomaton automaton)
creates a PatternPro with the given automaton. | |
| PatternPro(Pattern p)
copy constructor | |
| PatternPro(String regEx) | |
| Method Summary | |
|---|---|
| void | addAll(String regEx) |
| void | addAll(Pattern pattern) |
| void | addAll(PAutomaton a) |
| void | clear() |
| void | complement() |
| boolean | contains(String s, int offset, int length) |
| boolean | contains(char[] chars, int offset, int length) |
| boolean | contains(Reader in) |
| PAutomaton | getAutomaton() |
| protected AutomatonSet_String | getInnerAutomaton() |
| Pattern | getPattern()
don't needed: you have a PatternPro which extends Pattern.
|
| void | removeAll(String regEx) |
| void | removeAll(Pattern pattern) |
| void | removeAll(PAutomaton a) |
| void | retainAll(String regEx) |
| void | retainAll(Pattern pattern) |
| void | retainAll(PAutomaton a) |
| void | setAutomaton(PAutomaton a) |
| void | setPattern(Pattern p)
if p is an instance of PatternPro
use setAutomaton(p.getAutomaton());
else setAutomaton(new PatternPro(p).getAutomaton())
|
| void | setRegEx(String regEx) |
Deprecated:
don't needed: you have a PatternPro which extends Pattern. (Pattern)this.clone() has the same effectDeprecated:
if p is an instance of PatternPro use setAutomaton(p.getAutomaton()); else setAutomaton(new PatternPro(p).getAutomaton())