public class KlvEncodingDetectedString extends KlvDataElement<String>
key, keyBytes, name, value
Constructor and Description |
---|
KlvEncodingDetectedString(byte[] key,
String name)
Constructs a
KlvDataElement that describes how to interpret the value of a data element
with the given key. |
Modifier and Type | Method and Description |
---|---|
protected KlvDataElement |
copy() |
protected void |
decodeValue(Klv klv) |
getKey, getKeyAsString, getName, getValue, isErrorIndicated
public KlvEncodingDetectedString(byte[] key, String name)
KlvDataElement
that describes how to interpret the value of a data element
with the given key.key
- the data element's keyname
- a name describing the data element's valueIllegalArgumentException
- if any arguments are nullprotected void decodeValue(Klv klv)
decodeValue
in class KlvDataElement<String>
protected KlvDataElement copy()
copy
in class KlvDataElement<String>
This work is licensed under a Creative Commons Attribution 4.0 International License.