public class Pack200UnpackerAdapter extends Pack200Adapter implements Pack200.Unpacker
DEFAULT_BUFFER_SIZE
DEFLATE_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, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, properties, removePropertyChangeListener
public Pack200UnpackerAdapter()
public void unpack(InputStream in, JarOutputStream out) throws IOException
Pack200.Unpacker
unpack
in interface Pack200.Unpacker
in
- 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.Unpacker
File
to the specified
JAR output stream.unpack
in interface Pack200.Unpacker
file
- file to be uncompressed.out
- JAR output stream of uncompressed data.IOException
- if I/O exception occurs.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.