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. | 
| 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) | 
flushpublic Pack200CompressorOutputStream(OutputStream out) throws IOException
out - the stream to write toIOException - if writing failspublic Pack200CompressorOutputStream(OutputStream out, Pack200Strategy mode) throws IOException
out - the stream to write tomode - the strategy to useIOException - if writing failspublic Pack200CompressorOutputStream(OutputStream out, Map<String,String> props) throws IOException
out - the stream to write toprops - Pack200 properties to useIOException - if writing failspublic Pack200CompressorOutputStream(OutputStream out, Pack200Strategy mode, Map<String,String> props) throws IOException
out - the stream to write tomode - the strategy to useprops - Pack200 properties to useIOException - if writing failspublic 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 interface AutoCloseableclose in class OutputStreamIOExceptionpublic void finish() throws IOException
IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.