Package org.eclipse.rdf4j.rio.helpers

## Class StringRioSetting

- java.lang.Object
- - org.eclipse.rdf4j.rio.helpers.AbstractRioSetting<String>
  - - org.eclipse.rdf4j.rio.helpers.StringRioSetting

- All Implemented Interfaces:
    `Serializable`, `RioSetting<String>`

      public class StringRioSetting
      extends AbstractRioSetting<String>

  A `RioSetting` with a `String` value. The given default for the setting can be overridden by means of a system property with a name equal to the setting key.
  Author:
    Jeen Broekstra
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `StringRioSetting​(String key, String description, String defaultValue)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `convert​(String stringValue)` | Attempts to convert from a string to a type-safe representation based on the generic type of this setting.

    - ### Methods inherited from class org.eclipse.rdf4j.rio.helpers.AbstractRioSetting

      `equals, getDefaultValue, getDescription, getKey, hashCode, toString`

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

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

- - ### Constructor Detail

    - #### StringRioSetting

          public StringRioSetting​(String key,
                                  String description,
                                  String defaultValue)

  - ### Method Detail

    - #### convert

          public String convert​(String stringValue)

      Description copied from interface: `RioSetting`
      Attempts to convert from a string to a type-safe representation based on the generic type of this setting.
      Parameters:
        `stringValue` - a string representation of a value for this setting.
      Returns:
        The corresponding object of type T for the supplied string value.