Package org.jupnp.model.types
Klasse BinHexDatatype
java.lang.Object
org.jupnp.model.types.AbstractDatatype<byte[]>
org.jupnp.model.types.BinHexDatatype
- Alle implementierten Schnittstellen:
Datatype<byte[]>
- Autor:
- Christian Bauer
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.jupnp.model.types.Datatype
Datatype.Builtin, Datatype.Default -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden org.jupnp.model.types.AbstractDatatype
getBuiltin, getDisplayString, isHandlingJavaType, isValid, setBuiltin, toString
-
Konstruktordetails
-
BinHexDatatype
public BinHexDatatype()
-
-
Methodendetails
-
getValueType
- Setzt außer Kraft:
getValueTypein KlasseAbstractDatatype<byte[]>
-
valueOf
Beschreibung aus Schnittstelle kopiert:DatatypeTransforms a string representation into a value of the supported type.- Angegeben von:
valueOfin SchnittstelleDatatype<byte[]>- Setzt außer Kraft:
valueOfin KlasseAbstractDatatype<byte[]>- Parameter:
s- The string representation of a value.- Gibt zurück:
- The converted value or
nullif the string wasnullor empty. - Löst aus:
InvalidValueException- If the string couldn't be parsed.
-
getString
Beschreibung aus Schnittstelle kopiert:DatatypeTransforms a value supported by this datatype into a string representation.This method calls
Datatype.isValid(Object)before converting the value, it throws an exception if validation fails.- Angegeben von:
getStringin SchnittstelleDatatype<byte[]>- Setzt außer Kraft:
getStringin KlasseAbstractDatatype<byte[]>- Parameter:
value- The value to transform.- Gibt zurück:
- The transformed value as a string, or an empty string when the value is null, never returns
null. - Löst aus:
InvalidValueException
-