All Packages Class Hierarchy This Package Previous Next Index
Interface com.jobjects.jst.RegistryManager
- public interface RegistryManager
RegistryManager interface provides methods for
registry key creation.
To get the appropriate instance of RegistryManager for
a system use SystemToolkit class.
- See Also:
- SystemToolkit, RegistryKey
-
getTopLevelRegistryKey(int)
- Returns the top level registry key for a specified
key ID (one of values defined in the RegistryKey).
-
openRegistryKey(int, String)
- Creates the registry key instance for a specified
top level key and a subkey.
-
openRegistryKey(RegistryKey, String)
- Creates the registry key instance as a subkey of
a specified key.
getTopLevelRegistryKey
public abstract RegistryKey getTopLevelRegistryKey(int keyID)
- Returns the top level registry key for a specified
key ID (one of values defined in the RegistryKey).
- Parameters:
- keyID - top level key
- Returns:
- registry key or null if keyID does not exist
openRegistryKey
public abstract RegistryKey openRegistryKey(int keyID,
String subkey)
- Creates the registry key instance for a specified
top level key and a subkey.
Subkey can be specified as either one ("foo")
or multilevel key ("foo\bar").
- Parameters:
- keyID - top level key
openRegistryKey
public abstract RegistryKey openRegistryKey(RegistryKey key,
String subkey)
- Creates the registry key instance as a subkey of
a specified key.
Subkey can be specified as either one ("foo")
or multilevel key ("foo\bar").
- Parameters:
- key - parent key
- subkey - subkey name
All Packages Class Hierarchy This Package Previous Next Index