|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.izforge.izpack.installer.Unpacker
Unpacker class.
Field Summary | |
private AbstractUIProgressHandler |
handler
The installer listener. |
private AutomatedInstallData |
idata
The installdata. |
private static java.util.ArrayList |
instances
The instances of the unpacker objects. |
private java.lang.String |
jarLocation
The jar location. |
private UninstallData |
udata
The uninstallation data. |
private VariableSubstitutor |
vs
The variables substitutor. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Unpacker(AutomatedInstallData idata,
AbstractUIProgressHandler handler)
The constructor. |
Method Summary | |
private java.io.InputStream |
getPackAsStream(int n)
Returns a stream to a pack, depending on the installation kind. |
static java.util.ArrayList |
getRunningInstances()
Returns the active unpacker instances. |
private void |
putUninstaller()
Puts the uninstaller. |
void |
run()
The run method. |
private java.lang.String |
translatePath(java.lang.String destination)
Translates a relative path to a local system path. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private AutomatedInstallData idata
private AbstractUIProgressHandler handler
private UninstallData udata
private java.lang.String jarLocation
private VariableSubstitutor vs
private static java.util.ArrayList instances
Constructor Detail |
public Unpacker(AutomatedInstallData idata, AbstractUIProgressHandler handler)
idata
- The installation data.handler
- The installation progress handler.Method Detail |
public static java.util.ArrayList getRunningInstances()
public void run()
private void putUninstaller() throws java.lang.Exception
java.lang.Exception
- Description of the Exceptionprivate java.io.InputStream getPackAsStream(int n) throws java.lang.Exception
n
- The pack number.
java.lang.Exception
- Description of the Exceptionprivate java.lang.String translatePath(java.lang.String destination)
destination
- The path to translate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |