org.fourthline.cling.model.types
Class UnsignedIntegerOneByteDatatype
java.lang.Object
org.fourthline.cling.model.types.AbstractDatatype<UnsignedIntegerOneByte>
org.fourthline.cling.model.types.UnsignedIntegerOneByteDatatype
- All Implemented Interfaces:
- Datatype<UnsignedIntegerOneByte>
public class UnsignedIntegerOneByteDatatype
- extends AbstractDatatype<UnsignedIntegerOneByte>
- Author:
- Christian Bauer
UnsignedIntegerOneByteDatatype
public UnsignedIntegerOneByteDatatype()
valueOf
public UnsignedIntegerOneByte 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<UnsignedIntegerOneByte>
- Overrides:
valueOf
in class AbstractDatatype<UnsignedIntegerOneByte>
- 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 © 2013 4th Line GmbH, Switzerland. All Rights Reserved.