| java.lang.Object com.coi.tools.os.win.RegistryImpl com.coi.tools.os.izpack.Registry
Registry | public class Registry extends RegistryImpl implements NativeLibraryClient(Code) | | Wrapper class for com.coi.tools.os.win.RegistryImpl for using it with IzPack. This class
implements only the methods of interface NativeLibraryClient. All other methods are used directly
from RegistryImpl.
author: Klaus Bartz |
Constructor Summary | |
public | Registry() Default constructor. |
Method Summary | |
public void | freeLibrary(String name) This method is used to free the library at the end of progam execution. |
Registry | public Registry() throws Exception(Code) | | Default constructor.
exception: Exception - if initialize of native part fails |
freeLibrary | public void freeLibrary(String name)(Code) | | This method is used to free the library at the end of progam execution. This class has no own
library else it shares it in the COI common lib. To free the library, the helper class is
called. After this call, any instance of this class will not be usable any more!
Note that this method does NOT return at the first call, but at any other
DO NOT CALL THIS METHOD DIRECTLY!
It is used by the librarian to free the native library before physically deleting it from its
temporary loaction. A call to this method will freeze the application irrecoverably!
Parameters: name - the name of the library to free. Use only the name and extension but not thepath. See Also: com.izforge.izpack.util.NativeLibraryClient.freeLibrary |
Methods inherited from com.coi.tools.os.win.RegistryImpl | public void activateLogging()(Code)(Java Doc) public void addLoggingInfo(List info)(Code)(Java Doc) public void createKey(String key) throws NativeLibException(Code)(Java Doc) public void createKey(int root, String key) throws NativeLibException(Code)(Java Doc) public void deleteKey(String key) throws NativeLibException(Code)(Java Doc) public void deleteKeyIfEmpty(String key) throws NativeLibException(Code)(Java Doc) public void deleteKeyIfEmpty(int root, String key) throws NativeLibException(Code)(Java Doc) public void deleteValue(String key, String value) throws NativeLibException(Code)(Java Doc) public List<Object> getLoggingInfo()(Code)(Java Doc) public int getRoot()(Code)(Java Doc) public String[] getSubkeys(String key) throws NativeLibException(Code)(Java Doc) public RegDataContainer getValue(String key, String value) throws NativeLibException(Code)(Java Doc) public Object getValueAsObject(String key, String value) throws NativeLibException(Code)(Java Doc) public String[] getValueNames(String key) throws NativeLibException(Code)(Java Doc) public boolean keyExist(String key) throws NativeLibException(Code)(Java Doc) public boolean keyExist(int root, String key) throws NativeLibException(Code)(Java Doc) public void resetLogging()(Code)(Java Doc) public void rewind() throws IllegalArgumentException, NativeLibException(Code)(Java Doc) public void setLoggingInfo(List info)(Code)(Java Doc) public void setRoot(int i)(Code)(Java Doc) public void setValue(String key, String value, String contents) throws NativeLibException(Code)(Java Doc) public void setValue(String key, String value, String[] contents) throws NativeLibException(Code)(Java Doc) public void setValue(String key, String value, byte[] contents) throws NativeLibException(Code)(Java Doc) public void setValue(String key, String value, long contents) throws NativeLibException(Code)(Java Doc) public void setValue(String key, String value, RegDataContainer contents) throws NativeLibException(Code)(Java Doc) public void setValue(int root, String key, String value, RegDataContainer contents) throws NativeLibException(Code)(Java Doc) public void suspendLogging()(Code)(Java Doc) public boolean valueExist(String key, String value) throws NativeLibException(Code)(Java Doc)
|
|
|