com.izforge.izpack.installer.unpacker
Class LooseFileUnpacker
java.lang.Object
com.izforge.izpack.installer.unpacker.FileUnpacker
com.izforge.izpack.installer.unpacker.LooseFileUnpacker
public class LooseFileUnpacker
- extends FileUnpacker
An unpacker for loose pack files.
- Author:
- Tim Anderson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LooseFileUnpacker
public LooseFileUnpacker(Cancellable cancellable,
FileQueue queue,
Prompt prompt)
- Constructs a LooseFileUnpacker.
- Parameters:
cancellable - determines if unpacking should be cancelledqueue - the file queue. May be nullprompt - the prompt to warn of missing files
unpack
public void unpack(PackFile file,
InputStream packInputStream,
File target)
throws IOException,
InstallerException
- Unpacks a pack file.
- Specified by:
unpack in class FileUnpacker
- Parameters:
file - the pack file meta-datapackInputStream - the pack input streamtarget - the target
- Throws:
IOException - for any I/O error
InstallerException - for any installer exception
Copyright © 2018. All rights reserved.