org.rhq.core.system.windows
Enum RegistryValue.Type

java.lang.Object
  extended by java.lang.Enum<RegistryValue.Type>
      extended by org.rhq.core.system.windows.RegistryValue.Type
All Implemented Interfaces:
Serializable, Comparable<RegistryValue.Type>
Enclosing class:
RegistryValue

public static enum RegistryValue.Type
extends Enum<RegistryValue.Type>


Enum Constant Summary
BINARY
          Binary data in the form of a byte array.
DWORD
          A 32-bit number.
EXPAND_SZ
          A string that contains references to environment variables.
MULTI_SZ
          An array of strings.
QWORD
          A 64-bit number.
SZ
          A string.
 
Method Summary
static RegistryValue.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegistryValue.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BINARY

public static final RegistryValue.Type BINARY
Binary data in the form of a byte array.


DWORD

public static final RegistryValue.Type DWORD
A 32-bit number.


QWORD

public static final RegistryValue.Type QWORD
A 64-bit number.


MULTI_SZ

public static final RegistryValue.Type MULTI_SZ
An array of strings.


EXPAND_SZ

public static final RegistryValue.Type EXPAND_SZ
A string that contains references to environment variables.


SZ

public static final RegistryValue.Type SZ
A string.

Method Detail

values

public static RegistryValue.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RegistryValue.Type c : RegistryValue.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RegistryValue.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.