API Reference
| Classic JavaDoc |
RegistryValue.getAsString
public java.lang.String getAsString()
Returns a formatted string of this registry value for all types.
If the type is REG_SZ, REG_EXPAND_SZ or REG_LINK this method returns the same value as getString().
If the type is REG_BINARY this method returns the raw data formatted as hexadecimal bytes.
If the type is REG_DWORD or REG_DWORD_BIG_ENDIAN this method returns the integer value formatted as a signed decimal string.
If the type is REG_QWORD this method returns the long value formatted as a signed decimal string.
If the type is REG_SZ, REG_EXPAND_SZ or REG_LINK this method returns the same value as getString().
If the type is REG_BINARY this method returns the raw data formatted as hexadecimal bytes.
If the type is REG_DWORD or REG_DWORD_BIG_ENDIAN this method returns the integer value formatted as a signed decimal string.
If the type is REG_QWORD this method returns the long value formatted as a signed decimal string.
Community comments
Powered by JavaDocPlus