jxUtil 0.6

org.sourceforge.jxutil.w32
Class RegistryKey

java.lang.Object
  |
  +--org.sourceforge.jxutil.JNI
        |
        +--org.sourceforge.jxutil.w32.RegistryKey

public class RegistryKey
extends JNI


Field Summary
(package private) static int HKEY_CLASSES_ROOT
           
(package private) static int HKEY_CURRENT_CONFIG
           
(package private) static int HKEY_CURRENT_USER
           
(package private) static int HKEY_DYN_DATA
           
(package private) static int HKEY_LOCAL_MACHINE
           
(package private) static int HKEY_PERFORMANCE_DATA
           
(package private) static int HKEY_USERS
           
(package private)  String kclass
           
(package private)  int key
           
(package private)  String name
           
(package private)  RegistryKey parent
           
static RegistryKey ROOT
           
static RegistryKey USER
           
 
Fields inherited from class org.sourceforge.jxutil.JNI
loaded
 
Constructor Summary
(package private) RegistryKey(RegistryKey parent, String name, String kclass)
           
(package private) RegistryKey(String name, int key)
           
 
Method Summary
(package private)  void closeKey()
           
(package private) static void closeKey(int key)
          Close a key.
protected  void finalize()
           
 String fullName()
           
 RegistryKey get(String subKey)
           
 ArrayList getKeys()
          Return a map from key name to RegistryKey entry.
 String getName()
           
 List getValues()
          Return a collection with the values
(package private)  int open()
          Open a subkey.
(package private)  int openSub(String subkey)
          Open a subkey.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HKEY_CLASSES_ROOT

static final int HKEY_CLASSES_ROOT
See Also:
Constant Field Values

HKEY_CURRENT_CONFIG

static final int HKEY_CURRENT_CONFIG
See Also:
Constant Field Values

HKEY_CURRENT_USER

static final int HKEY_CURRENT_USER
See Also:
Constant Field Values

HKEY_DYN_DATA

static final int HKEY_DYN_DATA
See Also:
Constant Field Values

HKEY_LOCAL_MACHINE

static final int HKEY_LOCAL_MACHINE
See Also:
Constant Field Values

HKEY_PERFORMANCE_DATA

static final int HKEY_PERFORMANCE_DATA
See Also:
Constant Field Values

HKEY_USERS

static final int HKEY_USERS
See Also:
Constant Field Values

kclass

String kclass

key

int key

name

String name

parent

RegistryKey parent

ROOT

public static RegistryKey ROOT

USER

public static RegistryKey USER
Constructor Detail

RegistryKey

RegistryKey(RegistryKey parent,
            String name,
            String kclass)

RegistryKey

RegistryKey(String name,
            int key)
Method Detail

closeKey

void closeKey()

closeKey

static final void closeKey(int key)
Close a key.


finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throwable

fullName

public String fullName()

get

public RegistryKey get(String subKey)

getKeys

public final ArrayList getKeys()
                        throws RegistryAccessException
Return a map from key name to RegistryKey entry.

RegistryAccessException

getName

public String getName()

getValues

public final List getValues()
                     throws RegistryAccessException
Return a collection with the values

RegistryAccessException

open

final int open()
Open a subkey.


openSub

final int openSub(String subkey)
Open a subkey.


toString

public String toString()
Overrides:
toString in class Object

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.