|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.unpacker.UnpackerBase
com.izforge.izpack.installer.multiunpacker.MultiVolumeUnpacker
public class MultiVolumeUnpacker
Unpacker class for a multi volume installation.
| Field Summary |
|---|
| Fields inherited from class com.izforge.izpack.installer.unpacker.UnpackerBase |
|---|
RESOURCES_PATH |
| Constructor Summary | |
|---|---|
MultiVolumeUnpacker(InstallData installData,
PackResources resources,
RulesEngine rules,
VariableSubstitutor variableSubstitutor,
UninstallData uninstallData,
FileQueueFactory queue,
Housekeeper housekeeper,
InstallerListeners listeners,
Prompt prompt,
VolumeLocator locator,
PlatformModelMatcher matcher)
Constructs a MultiVolumeUnpacker. |
|
| Method Summary | |
|---|---|
protected void |
cleanup()
Invoked after unpacking has completed, in order to clean up. |
protected FileUnpacker |
createFileUnpacker(PackFile file,
Pack pack,
FileQueue queue,
Cancellable cancellable)
Creates an unpacker to unpack a pack file. |
protected void |
preUnpack(List<Pack> packs)
Invoked prior to unpacking. |
protected void |
skip(InputStream stream,
long bytes)
Skips bytes in a stream. |
protected void |
skip(PackFile file,
Pack pack,
InputStream packInputStream)
Skips a pack file. |
| Methods inherited from class com.izforge.izpack.installer.unpacker.UnpackerBase |
|---|
checkInterrupt, createDirectory, extract, getInstallData, getPrompt, getResources, getResult, getStepName, getUninstallData, getVariableSubstitutor, handleOverrideRename, interrupt, isConditionTrue, isInterruptDisabled, isInterrupted, isOverwriteFile, performUpdateChecks, postUnpack, readExecutableFiles, readParsableFiles, readUpdateChecks, run, setDisableInterrupt, setProgressListener, setResult, shouldUnpack, unpack, unpack, unpack, unpack, writeInstallationInformation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiVolumeUnpacker(InstallData installData,
PackResources resources,
RulesEngine rules,
VariableSubstitutor variableSubstitutor,
UninstallData uninstallData,
FileQueueFactory queue,
Housekeeper housekeeper,
InstallerListeners listeners,
Prompt prompt,
VolumeLocator locator,
PlatformModelMatcher matcher)
installData - the installation dataresources - the pack resourcesrules - the rules enginevariableSubstitutor - the variable substituteruninstallData - the uninstallation dataqueue - the queuehousekeeper - the housekeeperlisteners - the listenersprompt - the promptlocator - the multi-volume locatormatcher - the platform-model matcher| Method Detail |
|---|
protected void preUnpack(List<Pack> packs)
ProgressListener, and any registered listeners.
preUnpack in class UnpackerBasepacks - the packs to unpack
IzPackException - for any error
protected FileUnpacker createFileUnpacker(PackFile file,
Pack pack,
FileQueue queue,
Cancellable cancellable)
throws InstallerException
createFileUnpacker in class UnpackerBasefile - the pack file to unpackpack - the parent packqueue - the file queue. May be nullcancellable - determines if the unpacker should be cancelled
InstallerException - for any installer error
protected void skip(PackFile file,
Pack pack,
InputStream packInputStream)
throws IOException
UnpackerBase
skip in class UnpackerBasefile - the pack filepack - the packpackInputStream - the pack stream
IOException - if the file cannot be skipped
protected void skip(InputStream stream,
long bytes)
throws IOException
UnpackerBase
skip in class UnpackerBasestream - the streambytes - the no. of bytes to skip
IOException - for any I/O error, or if the no. of bytes skipped doesn't match that expectedprotected void cleanup()
UnpackerBase
cleanup in class UnpackerBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||