public class Pack200UnpackerAdapter extends Pack200Adapter implements Pack200.Unpacker
DEFAULT_BUFFER_SIZEDEFLATE_HINT, FALSE, KEEP, PROGRESS, TRUE| Constructor and Description |
|---|
Pack200UnpackerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
unpack(File file,
JarOutputStream out)
Unpack the contents of the specified
File to the specified
JAR output stream. |
void |
unpack(InputStream in,
JarOutputStream out)
Unpack the specified stream to the specified JAR output stream.
|
addPropertyChangeListener, completed, firePropertyChange, properties, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, properties, removePropertyChangeListenerpublic Pack200UnpackerAdapter()
public void unpack(InputStream in, JarOutputStream out) throws IOException
Pack200.Unpackerunpack in interface Pack200.Unpackerin - stream to uncompressed.out - JAR output stream of uncompressed data.IOException - if I/O exception occurs.public void unpack(File file, JarOutputStream out) throws IOException
Pack200.UnpackerFile to the specified
JAR output stream.unpack in interface Pack200.Unpackerfile - file to be uncompressed.out - JAR output stream of uncompressed data.IOException - if I/O exception occurs.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.