public final class Pack200Streams extends Object
Modifier and Type | Method and Description |
---|---|
static void |
pack(byte[] source,
OutputStream output)
Packs a buffer in JAR/ZIP format into a stream in Pack200 format.
|
static InputStream |
unpack(InputStream input)
Unpack a stream in Pack200 format into a stream in JAR/ZIP format.
|
public static InputStream unpack(InputStream input) throws IOException
input
- stream in Pack200 formatIOException
- in case of errors with the streamspublic static void pack(byte[] source, OutputStream output) throws IOException
source
- source in JAR/ZIP formatoutput
- stream in Pack200 formatIOException
- in case of errors with the streamsCopyright © 2022. All rights reserved.