public abstract class Compressor extends Object
Constructor and Description |
---|
Compressor() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
compress(ByteBuffer rawIn) |
abstract OutputStream |
compressionOutputStream(OutputStream delegate) |
ByteBuffer |
decompress(ByteBuffer compressedIn) |
abstract InputStream |
decompressionInputStream(InputStream delegate) |
void |
pipe(ByteBuffer in,
OutputStream os) |
void |
pipe(InputStream is,
OutputStream os) |
void |
pipe(InputStream is,
OutputStream os,
int bufferSize) |
public void pipe(InputStream is, OutputStream os, int bufferSize) throws IOException
IOException
public void pipe(InputStream is, OutputStream os) throws IOException
IOException
public void pipe(ByteBuffer in, OutputStream os) throws IOException
IOException
public ByteBuffer decompress(ByteBuffer compressedIn) throws IOException
IOException
public ByteBuffer compress(ByteBuffer rawIn) throws IOException
IOException
public abstract OutputStream compressionOutputStream(OutputStream delegate)
public abstract InputStream decompressionInputStream(InputStream delegate)
Copyright © 2014 AVAST Software. All Rights Reserved.