public class RegMultiStringValue extends RegistryValue
This class represents a named value of type REG_MULTI_SZ.
The type specific data for the value will be an array of Strings.
RegistryValue,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
String[] |
getValue()
Retrieves the type specific form of
this value
which is an array of Strings. |
int |
refreshData()
This method is used to update the data for
this value
because the data does not update automatically if it was changed. |
int |
setValue(String... value)
Used to set the data of
this value. |
String |
toString()
Retrieve a
String representation of this value. |
clone, compareTo, equals, getByteData, getByteLength, getKey, getName, getValueType, getValueTypeInt, hashCode, setByteData, setValueType, setValueTypeIntpublic String[] getValue()
this value
which is an array of Strings.
RegistryValue.setValueType(ValueType)
and is no longer of type REG_MULTI_SZ,
then a RegistryException is thrown.Strings representing the data.RegistryException - if the type is not REG_MULTI_SZ.public int setValue(String... value)
this value.
If the type is no longer of type REG_MULTI_SZ,
then a RegistryException is thrown.value - An array of Strings representing the new data for the value.
NOTE: As of version 1.7.6, this can now be a variable list of Strings.RegistryKey.formatErrorMessage(int).RegistryException - if the type is not REG_MULTI_SZ.public int refreshData()
this value
because the data does not update automatically if it was changed.refreshData in class RegistryValueRegistryKey.formatErrorMessage(int).RegistryException - if the type is not REG_MULTI_SZ.public String toString()
String representation of this value.toString in class RegistryValueString representation for the value.Copyright © 2011, Yinon Michaeli. All rights reserved.