com.izforge.izpack.installer.unpacker
Class CompressedFileUnpacker
java.lang.Object
com.izforge.izpack.installer.unpacker.FileUnpacker
com.izforge.izpack.installer.unpacker.CompressedFileUnpacker
public class CompressedFileUnpacker
- extends FileUnpacker
Unpacker for compressed files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedFileUnpacker
public CompressedFileUnpacker(Cancellable cancellable,
FileQueue queue,
PackCompression compressionFormat)
- Constructs a CompressedFileUnpacker.
- Parameters:
cancellable - determines if unpacking should be cancelledqueue - the file queue. May be null
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.