|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.checkedhello.RegistryHelper
public class RegistryHelper
Registry helper.
| Constructor Summary | |
|---|---|
RegistryHelper(RegistryDefaultHandler handler,
InstallData installData)
Constructs a RegistryHelper. |
|
| Method Summary | |
|---|---|
protected boolean |
exists(int root,
String key,
String value)
Determines whether a given value under a given key exists. |
String |
getInstallationPath()
Returns the installation path of the application. |
String |
getUninstallCommand()
Returns the command to uninstall the application, if it is registered. |
String |
getUninstallName()
Returns the uninstallation name. |
boolean |
isRegistered()
Returns whether the handled application is already registered or not. |
String |
updateUninstallName()
Generates an unique uninstall name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegistryHelper(RegistryDefaultHandler handler,
InstallData installData)
RegistryHelper.
handler - the registry handlerinstallData - the installation data| Method Detail |
|---|
public boolean isRegistered()
throws NativeLibException
true if the application is registered
NativeLibException - for any native library errorpublic String getUninstallName()
null
public String getInstallationPath()
throws NativeLibException
null if the application hasn't been installed or the path cannot
be determined
NativeLibException - for any native library error
IllegalStateException - if the uninstallation name of the application is null
public String getUninstallCommand()
throws NativeLibException
null if the application isn't registered
NativeLibException - for any native library error
IllegalStateException - if the uninstallation name of the application is null
public String updateUninstallName()
throws NativeLibException
null if the registry isn't supported on the platform
NativeLibException - for any native library error
protected boolean exists(int root,
String key,
String value)
throws NativeLibException
root - the root of the registry access.key - the key namevalue - the value name
true it exists, otherwise false
NativeLibException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||