public abstract class BasicStatementParser extends Object implements StatementParser
| Modifier and Type | Class and Description |
|---|---|
static interface |
BasicStatementParser.GroupProvider |
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
pattern |
protected String |
target |
| Modifier | Constructor and Description |
|---|---|
protected |
BasicStatementParser(Pattern pattern) |
protected |
BasicStatementParser(Pattern pattern,
String target) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getGroup(BasicStatementParser.GroupProvider provider) |
protected String |
getGroup(int i) |
protected String |
getGroup(String input,
BasicStatementParser.GroupProvider provider) |
protected String |
getGroup(String input,
int i) |
Matcher |
getTargetMatcher() |
boolean |
test() |
boolean |
test(String line) |
protected BasicStatementParser(Pattern pattern)
public boolean test(String line)
test in interface StatementParserpublic boolean test()
protected String getGroup(String input, BasicStatementParser.GroupProvider provider)
protected String getGroup(int i)
protected String getGroup(BasicStatementParser.GroupProvider provider)
public Matcher getTargetMatcher()
Copyright © 2014. All rights reserved.