public class LzoCompression
extends java.lang.Object
| Constructor and Description |
|---|
LzoCompression() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.InputStream |
createLzoInputStream(java.io.InputStream inputStream)
Create an
InputStream that will read from the given InputStream using LzoCodec. |
static java.io.OutputStream |
createLzoOutputStream(java.io.OutputStream outputStream)
Create an
OutputStream that will write to the given OutputStream. |
static java.io.InputStream |
createLzopInputStream(java.io.InputStream inputStream)
Create an
InputStream that will read from the given InputStream using LzopCodec. |
static java.io.OutputStream |
createLzopOutputStream(java.io.OutputStream outputStream)
Create a
OutputStream that will write to the given OutputStream. |
public static java.io.InputStream createLzoInputStream(java.io.InputStream inputStream)
throws java.io.IOException
InputStream that will read from the given InputStream using LzoCodec.inputStream - the stream to read compressed bytes fromjava.io.IOExceptionpublic static java.io.InputStream createLzopInputStream(java.io.InputStream inputStream)
throws java.io.IOException
InputStream that will read from the given InputStream using LzopCodec.inputStream - the stream to read compressed bytes fromjava.io.IOExceptionpublic static java.io.OutputStream createLzoOutputStream(java.io.OutputStream outputStream)
throws java.io.IOException
OutputStream that will write to the given OutputStream.outputStream - the location for the final output streamjava.io.IOExceptionpublic static java.io.OutputStream createLzopOutputStream(java.io.OutputStream outputStream)
throws java.io.IOException
OutputStream that will write to the given OutputStream.outputStream - the location for the final output streamjava.io.IOException