|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.codemercs.install.PlatformUninstaller
class PlatformUninstaller
Base class for platform-specific uninstallation classes.
Field Summary | |
---|---|
protected java.lang.String |
jarName
The name of the jar that we want to remove |
protected java.io.File[] |
javaExtDirs
An array of all the directories in the java.ext.dirs |
protected java.io.File[] |
javaLibDirs
An array of all the directories in the java.library.path |
protected java.lang.String |
libFileName
The is the plattform-specific name of the library |
protected java.lang.String |
libName
The name of the library we want to remove |
Constructor Summary | |
---|---|
protected |
PlatformUninstaller(java.lang.String libName,
java.lang.String jarName)
Creates a new PlatformUninstaller. |
Method Summary | |
---|---|
boolean |
deleteJar()
Delete all the jar-files from the java.ext.dirs. |
boolean |
deleteLibrary()
Delete all the library-files from the java.library.path. |
boolean |
jarExists()
Tests wether the jar-file exists in the java.ext.dirs. |
boolean |
libraryExists()
Tests wether the library exists in the java.library.path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String libName
protected final java.lang.String libFileName
protected java.lang.String jarName
protected java.io.File[] javaLibDirs
protected java.io.File[] javaExtDirs
Constructor Detail |
---|
protected PlatformUninstaller(java.lang.String libName, java.lang.String jarName)
libName
- the name of the library that is to be removedjarName
- the name of the jar-file that is to be removedMethod Detail |
---|
public boolean libraryExists()
public boolean jarExists()
public boolean deleteLibrary()
public boolean deleteJar()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |