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
out
- the stream to write tojava.io.IOException
- if writing failspublic Pack200CompressorOutputStream(java.io.OutputStream out, Pack200Strategy mode) throws java.io.IOException
out
- the stream to write tomode
- the strategy to usejava.io.IOException
- if writing failspublic Pack200CompressorOutputStream(java.io.OutputStream out, java.util.Map<java.lang.String,java.lang.String> props) throws java.io.IOException
out
- the stream to write toprops
- Pack200 properties to usejava.io.IOException
- if writing failspublic Pack200CompressorOutputStream(java.io.OutputStream out, Pack200Strategy mode, java.util.Map<java.lang.String,java.lang.String> props) throws java.io.IOException
out
- the stream to write tomode
- the strategy to useprops
- Pack200 properties to usejava.io.IOException
- if writing failspublic 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 interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"