|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.internal.Pack200Streams
public final class Pack200Streams
Internal wrapper for the weird Pack200 Java API to allow usage with streams.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static InputStream unpack(InputStream input)
throws IOException
input - stream in Pack200 format
IOException - in case of errors with the streams
public static void pack(byte[] source,
OutputStream output)
throws IOException
source - source in JAR/ZIP formatoutput - stream in Pack200 format
IOException - in case of errors with the streams
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||