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