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 class SettableRegistryValue extends RegistryValue
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 com.github.robtimus.os.windows.registry.RegistryValue
RegistryValue.Filter
-
-
Field Summary
-
Fields inherited from class com.github.robtimus.os.windows.registry.RegistryValue
DEFAULT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SettableRegistryValue
withName(String name)
Returns a registry value with the same value as this registry value but a different name.-
Methods inherited from class com.github.robtimus.os.windows.registry.RegistryValue
equals, filter, hashCode, name
-
-
-
-
Method Detail
-
withName
public abstract SettableRegistryValue withName(String name)
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
.
-
-