public final class StringStructure extends OSTypeStructure
The string structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
Identifies the structure key.
|
Constructor and Description |
---|
StringStructure(ClassID keyName)
Initializes a new instance of the
StringStructure class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
String |
getValue()
Gets or sets the value.
|
void |
setValue(String value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
Identifies the structure key.
public StringStructure(ClassID keyName)
Initializes a new instance of the StringStructure
class.
keyName
- The key name.public int getKey()
Gets the key.
getKey
in class OSTypeStructure
public String getValue()
Gets or sets the value.
Value: The value.public void setValue(String value)
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure