public abstract class VmtiUtf8 extends Object implements IVmtiMetadataValue
Modifier and Type | Field and Description |
---|---|
protected String |
displayName |
protected String |
stringValue |
Constructor and Description |
---|
VmtiUtf8(String name,
byte[] bytes)
Create from encoded bytes.
|
VmtiUtf8(String name,
String value)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
String |
getValue()
Get the value.
|
protected final String displayName
protected final String stringValue
public VmtiUtf8(String name, String value)
name
- The display name for the stringvalue
- The string valuepublic VmtiUtf8(String name, byte[] bytes)
name
- The display name for the stringbytes
- Encoded byte arraypublic String getValue()
public byte[] getBytes()
IVmtiMetadataValue
getBytes
in interface IVmtiMetadataValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.