org.rhq.core.system.windows
Class RegistryValue
java.lang.Object
   org.rhq.core.system.windows.RegistryValue
org.rhq.core.system.windows.RegistryValue
- Direct Known Subclasses: 
- BinaryRegistryValue, DWordRegistryValue, ExpandSzRegistryValue, MultiSzRegistryValue, QWordRegistryValue, SzRegistryValue
- public abstract class RegistryValue 
- extends Object
Denotes a value of a registry entry.
 
 
 
 
RegistryValue
protected RegistryValue(RegistryValue.Type type,
                        Object value)
getType
public RegistryValue.Type getType()
- Indicates the registry value's type. This is not a Java type - it is the type of the registry item.
 
- 
- Returns:
- type of registry
 
getValue
public Object getValue()
- Returns the value as a generic Object, which may be of a different type depending on the value of
 getType(). Subclasses will have additional methods to allow the caller to get a more strongly-typed
 object.
 
- 
- Returns:
- the registry value
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.