|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.apache.commons.compress.compressors.CompressorOutputStream
org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
public class Pack200CompressorOutputStream
An output stream that compresses using the Pack200 format.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
close()
|
void |
finish()
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int from,
int length)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
flush |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pack200CompressorOutputStream(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public Pack200CompressorOutputStream(java.io.OutputStream out, Pack200Strategy mode) throws java.io.IOException
java.io.IOException
public Pack200CompressorOutputStream(java.io.OutputStream out, java.util.Map<java.lang.String,java.lang.String> props) throws java.io.IOException
java.io.IOException
public Pack200CompressorOutputStream(java.io.OutputStream out, Pack200Strategy mode, java.util.Map<java.lang.String,java.lang.String> props) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int from, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |