Package io.vertx.mutiny.ext.shell.cli
Class CliToken
- java.lang.Object
 - 
- io.vertx.mutiny.ext.shell.cli.CliToken
 
 
- 
public class CliToken extends Object
A parsed token in the command line interface. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<CliToken>__TYPE_ARG 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CliTokencreateBlank(String blank)static CliTokencreateText(String text)booleanequals(Object o)io.vertx.ext.shell.cli.CliTokengetDelegate()inthashCode()booleanisBlank()booleanisText()static CliTokennewInstance(io.vertx.ext.shell.cli.CliToken arg)Stringraw()static List<CliToken>tokenize(String s)StringtoString()Stringvalue() 
 - 
 
- 
- 
Constructor Detail
- 
CliToken
public CliToken(io.vertx.ext.shell.cli.CliToken delegate)
 
- 
CliToken
public CliToken(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.shell.cli.CliToken getDelegate()
 
- 
createText
public static CliToken createText(String text)
- Parameters:
 text- the text- Returns:
 - the token
 
 
- 
createBlank
public static CliToken createBlank(String blank)
- Parameters:
 blank- the blank value- Returns:
 - the token
 
 
- 
value
public String value()
- Returns:
 - the token value
 
 
- 
raw
public String raw()
- Returns:
 - the raw token value, that may contain unescaped chars, for instance
 
 
- 
isText
public boolean isText()
- Returns:
 - true when it's a text token
 
 
- 
isBlank
public boolean isBlank()
- Returns:
 - true when it's a blank token
 
 
- 
tokenize
public static List<CliToken> tokenize(String s)
- Parameters:
 s- the tokenized string- Returns:
 - the tokens
 
 
- 
newInstance
public static CliToken newInstance(io.vertx.ext.shell.cli.CliToken arg)
 
 - 
 
 -