Class SettableRegistryValue
java.lang.Object
com.github.robtimus.os.windows.registry.RegistryValue
com.github.robtimus.os.windows.registry.SettableRegistryValue
- Direct Known Subclasses:
BinaryValue, DWordValue, MultiStringValue, QWordValue, StringValue
public abstract sealed class SettableRegistryValue
extends RegistryValue
permits BinaryValue, DWordValue, MultiStringValue, QWordValue, StringValue
A representation of registry values that can be set.
This includes string values, numeric values and binary values, but excludes values like links or resource lists.
- Author:
- Rob Spoor
-
Nested Class Summary
Nested classes/interfaces inherited from class RegistryValue
RegistryValue.Filter -
Field Summary
Fields inherited from class RegistryValue
DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionabstract SettableRegistryValueReturns a registry value with the same value as this registry value but a different name.Methods inherited from class RegistryValue
equals, filter, hashCode, name
-
Method Details
-
withName
Returns a registry value with the same value as this registry value but a different name.- Parameters:
name- The name of the registry value to return.- Returns:
- A registry value with the same value as this registry value and the given name.
- Throws:
NullPointerException- If the given name isnull.
-