public enum RegistryRootType extends Enum<RegistryRootType>
Java class for RegistryRootType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RegistryRootType"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="HKMU"/> <enumeration value="HKCR"/> <enumeration value="HKCU"/> <enumeration value="HKLM"/> <enumeration value="HKU"/> </restriction> </simpleType>
Enum Constant and Description |
---|
HKCR
Operation occurs under HKEY_CLASSES_ROOT.
|
HKCU
Operation occurs under HKEY_CURRENT_USER.
|
HKLM
Operation occurs under HKEY_LOCAL_MACHINE.
|
HKMU
A per-user installation will make the operation occur under HKEY_CURRENT_USER.
|
HKU
Operation occurs under HKEY_USERS.
|
Modifier and Type | Method and Description |
---|---|
static RegistryRootType |
fromValue(String v) |
String |
value() |
static RegistryRootType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryRootType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryRootType HKMU
public static final RegistryRootType HKCR
public static final RegistryRootType HKCU
public static final RegistryRootType HKLM
public static final RegistryRootType HKU
public static RegistryRootType[] values()
for (RegistryRootType c : RegistryRootType.values()) System.out.println(c);
public static RegistryRootType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RegistryRootType fromValue(String v)
Copyright © 2019. All rights reserved.