public class GZIPStreamWrapper extends Object implements IStreamWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
GZIPStreamWrapper.Factory |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUFFER_SIZE |
static int |
DEFAULT_COMPRESSION_LEVEL |
| Constructor and Description |
|---|
GZIPStreamWrapper() |
GZIPStreamWrapper(int bufferSize,
int compressionLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishInputStream(InputStream in) |
void |
finishOutputStream(OutputStream out) |
GZIPInputStream |
wrapInputStream(InputStream in) |
GZIPOutputStream |
wrapOutputStream(OutputStream out) |
public static final int DEFAULT_BUFFER_SIZE
public static final int DEFAULT_COMPRESSION_LEVEL
public GZIPStreamWrapper()
public GZIPStreamWrapper(int bufferSize,
int compressionLevel)
public GZIPInputStream wrapInputStream(InputStream in) throws IOException
wrapInputStream in interface IStreamWrapperIOExceptionpublic GZIPOutputStream wrapOutputStream(OutputStream out) throws IOException
wrapOutputStream in interface IStreamWrapperIOExceptionpublic void finishInputStream(InputStream in) throws IOException
finishInputStream in interface IStreamWrapperIOExceptionpublic void finishOutputStream(OutputStream out) throws IOException
finishOutputStream in interface IStreamWrapperIOExceptionCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html