org.teleal.cling.model.types
Class UnsignedIntegerTwoBytesDatatype
java.lang.Object
org.teleal.cling.model.types.AbstractDatatype<UnsignedIntegerTwoBytes>
org.teleal.cling.model.types.UnsignedIntegerTwoBytesDatatype
- All Implemented Interfaces:
- Datatype<UnsignedIntegerTwoBytes>
public class UnsignedIntegerTwoBytesDatatype
- extends AbstractDatatype<UnsignedIntegerTwoBytes>
- Author:
- Christian Bauer
UnsignedIntegerTwoBytesDatatype
public UnsignedIntegerTwoBytesDatatype()
valueOf
public UnsignedIntegerTwoBytes valueOf(String s)
throws InvalidValueException
- Description copied from interface:
Datatype
- Transforms a string representation into a value of the supported type.
- Specified by:
valueOf
in interface Datatype<UnsignedIntegerTwoBytes>
- Overrides:
valueOf
in class AbstractDatatype<UnsignedIntegerTwoBytes>
- Parameters:
s
- The string representation of a value.
- Returns:
- The converted value or
null
if the string was null
or empty.
- Throws:
InvalidValueException
- If the string couldn't be parsed.
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.