public class StringDatatype extends AbstractDatatype<String>
Datatype.Builtin, Datatype.Default
Constructor and Description |
---|
StringDatatype() |
Modifier and Type | Method and Description |
---|---|
String |
valueOf(String s)
Transforms a string representation into a value of the supported type.
|
getBuiltin, getDisplayString, getString, getValueType, isHandlingJavaType, isValid, setBuiltin, toString
public String valueOf(String s) throws InvalidValueException
Datatype
valueOf
in interface Datatype<String>
valueOf
in class AbstractDatatype<String>
s
- The string representation of a value.null
if the string was null
or empty.InvalidValueException
- If the string couldn't be parsed.Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.