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, toStringpublic String valueOf(String s) throws InvalidValueException
DatatypevalueOf 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 © 2023 jUPnP.org. All rights reserved.