io.vertx.rxjava.ext.shell.cli

## Class CliToken

- java.lang.Object
- - io.vertx.rxjava.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 the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<CliToken>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CliToken(CliToken delegate)`
    `CliToken(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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.
    `boolean` | `equals(Object o)`
    `CliToken` | `getDelegate()`
    `int` | `hashCode()`
    `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` | `toString()`
    `String` | `value()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<CliToken> __TYPE_ARG

  - ### Constructor Detail

    - #### CliToken

          public CliToken(CliToken delegate)

    - #### CliToken

          public CliToken(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public CliToken getDelegate()

    - #### createText

          public static CliToken createText(String text)

      Create a text token.
      Parameters:
        `text` - the text
      Returns:
        the token

    - #### createBlank

          public static CliToken createBlank(String blank)

      Create a new blank token.
      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)

      Tokenize the string argument and return a list of tokens.
      Parameters:
        `s` - the tokenized string
      Returns:
        the tokens

    - #### newInstance

          public static CliToken newInstance(CliToken arg)

Copyright © 2024 Eclipse. All rights reserved.