io.vertx.core.cli.converters

## Class StringConverter

- java.lang.Object
- - io.vertx.core.cli.converters.StringConverter

- All Implemented Interfaces:
    Converter<String>

      public final class StringConverter
      extends Object
      implements Converter<String>

  Converts String to String, that's the easy one.
  Author:
    Clement Escoffier

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static StringConverter` | `INSTANCE` The converter.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `fromString(String input)` Just returns the given input.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final StringConverter INSTANCE

      The converter.

  - ### Method Detail

    - #### fromString

          public String fromString(String input)
                            throws IllegalArgumentException

      Just returns the given input.
      Specified by:
        `fromString` in interface `Converter<String>`
      Parameters:
        `input` - the input, can be null
      Returns:
        the input
      Throws:
        `IllegalArgumentException`

Copyright © 2018 Eclipse. All rights reserved.