public class OptionParser extends Object
| Constructor and Description |
|---|
OptionParser(String text,
boolean checkBrackets)
Creates a parser for the given text.
|
| Modifier and Type | Method and Description |
|---|---|
String |
nextOption()
Gets the next option as a string.
|
String |
nextOption(int stopAtOptionLevel)
Gets the next option as a string.
|
public OptionParser(String text, boolean checkBrackets)
text - the text to parsecheckBrackets - true if ignore text outside [...]public String nextOption()
public String nextOption(int stopAtOptionLevel)
stopAtOptionLevel - option level to stop on closing bracketTentackle - a domain driven enterprise framework