Package org.eclipse.rdf4j.rio.helpers
Class LongRioSetting
- java.lang.Object
-
- org.eclipse.rdf4j.rio.helpers.AbstractRioSetting<Long>
-
- org.eclipse.rdf4j.rio.helpers.LongRioSetting
-
- All Implemented Interfaces:
Serializable
,RioSetting<Long>
public class LongRioSetting extends AbstractRioSetting<Long>
ARioSetting
with aLong
value. The given default for the setting can be overriden 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 LongRioSetting(String key, String description, Long defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
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
-
-
-
-
Method Detail
-
convert
public Long 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.
-
-