Modifier and Type | Method and Description |
---|---|
static CliToken |
createBlank(String blank)
Create a new blank token.
|
static CliToken |
createText(String text)
Create a text token.
|
Object |
getDelegate() |
boolean |
isBlank() |
boolean |
isText() |
static CliToken |
newInstance(CliToken arg) |
String |
raw() |
static List<CliToken> |
tokenize(String s)
Tokenize the string argument and return a list of tokens.
|
String |
value() |
public CliToken(CliToken delegate)
public Object getDelegate()
public static CliToken createText(String text)
text
- the textpublic static CliToken createBlank(String blank)
blank
- the blank valuepublic String value()
public String raw()
public boolean isText()
public boolean isBlank()
public static List<CliToken> tokenize(String s)
s
- the tokenized stringCopyright © 2016. All rights reserved.