public class Pack200CompressorOutputStream extends CompressorOutputStream
| Constructor and Description |
|---|
Pack200CompressorOutputStream(java.io.OutputStream out)
Compresses the given stream, caching the compressed data in
memory.
|
Pack200CompressorOutputStream(java.io.OutputStream out,
java.util.Map<java.lang.String,java.lang.String> props)
Compresses the given stream, caching the compressed data in
memory and using the given properties.
|
Pack200CompressorOutputStream(java.io.OutputStream out,
Pack200Strategy mode)
Compresses the given stream using the given strategy to cache
the results.
|
Pack200CompressorOutputStream(java.io.OutputStream out,
Pack200Strategy mode,
java.util.Map<java.lang.String,java.lang.String> props)
Compresses the given stream using the given strategy to cache
the results and the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
void |
write(byte[] b) |
void |
write(byte[] b,
int from,
int length) |
void |
write(int b) |
public Pack200CompressorOutputStream(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic Pack200CompressorOutputStream(java.io.OutputStream out,
Pack200Strategy mode)
throws java.io.IOException
java.io.IOExceptionpublic Pack200CompressorOutputStream(java.io.OutputStream out,
java.util.Map<java.lang.String,java.lang.String> props)
throws java.io.IOException
java.io.IOExceptionpublic Pack200CompressorOutputStream(java.io.OutputStream out,
Pack200Strategy mode,
java.util.Map<java.lang.String,java.lang.String> props)
throws java.io.IOException
java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int from,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void finish()
throws java.io.IOException
java.io.IOException