org.apache.commons.compress.compressors.pack200
public class Pack200CompressorOutputStream extends CompressorOutputStream
| Constructor and Description |
|---|
Pack200CompressorOutputStream(OutputStream out)
Compresses the given stream, caching the compressed data in
memory.
|
Pack200CompressorOutputStream(OutputStream out,
Map<String,String> props)
Compresses the given stream, caching the compressed data in
memory and using the given properties.
|
Pack200CompressorOutputStream(OutputStream out,
Pack200Strategy mode)
Compresses the given stream using the given strategy to cache
the results.
|
Pack200CompressorOutputStream(OutputStream out,
Pack200Strategy mode,
Map<String,String> props)
Compresses the given stream using the given strategy to cache
the results and the given properties.
|
public Pack200CompressorOutputStream(OutputStream out) throws IOException
IOExceptionpublic Pack200CompressorOutputStream(OutputStream out, Pack200Strategy mode) throws IOException
IOExceptionpublic Pack200CompressorOutputStream(OutputStream out, Map<String,String> props) throws IOException
IOExceptionpublic Pack200CompressorOutputStream(OutputStream out, Pack200Strategy mode, Map<String,String> props) throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int from,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class OutputStreamIOExceptionpublic void finish()
throws IOException
IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.