Enum Class WinRegistry.RegistryHKey

java.lang.Object
java.lang.Enum<WinRegistry.RegistryHKey>
ch.autumo.commons.utils.system.WinRegistry.RegistryHKey
All Implemented Interfaces:
Serializable, Comparable<WinRegistry.RegistryHKey>, Constable
Enclosing class:
WinRegistry

public static enum WinRegistry.RegistryHKey extends Enum<WinRegistry.RegistryHKey>
Regustry key.
  • Enum Constant Details

  • Method Details

    • values

      public static WinRegistry.RegistryHKey[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WinRegistry.RegistryHKey valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLongName

      public String getLongName()
      Get long name.
      Returns:
      long name
    • getHKey

      public int getHKey()
      Get HKEY.
      Returns:
      HKEY
    • tryGetFromName

      public static WinRegistry.RegistryHKey tryGetFromName(String name)
      Get from name.
      Parameters:
      name - name
      Returns:
      regustry key