Class KlvEncodingDetectedString

java.lang.Object
org.codice.ddf.libs.klv.KlvDataElement<String>
org.codice.ddf.libs.klv.data.text.KlvEncodingDetectedString

public class KlvEncodingDetectedString extends KlvDataElement<String>
Represents a KLV data element that has a String value. The string may not be the machine's encoding, so it should be detected.
  • Constructor Details

    • KlvEncodingDetectedString

      public KlvEncodingDetectedString(byte[] key, String name)
      Constructs a KlvDataElement that describes how to interpret the value of a data element with the given key.
      Parameters:
      key - the data element's key
      name - a name describing the data element's value
      Throws:
      IllegalArgumentException - if any arguments are null
  • Method Details