Class IntegerRioSetting

java.lang.Object
org.eclipse.rdf4j.rio.helpers.AbstractRioSetting<Integer>
org.eclipse.rdf4j.rio.helpers.IntegerRioSetting
All Implemented Interfaces:
Serializable, RioSetting<Integer>

public class IntegerRioSetting extends AbstractRioSetting<Integer>
A RioSetting with a Integer 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:
HÃ¥vard M. Ottestad
See Also:
  • Constructor Details

    • IntegerRioSetting

      public IntegerRioSetting(String key, String description, Integer defaultValue)
  • Method Details

    • convert

      public Integer 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.