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 IStreamWrapper
IOException
public GZIPOutputStream wrapOutputStream(OutputStream out) throws IOException
wrapOutputStream
in interface IStreamWrapper
IOException
public void finishInputStream(InputStream in) throws IOException
finishInputStream
in interface IStreamWrapper
IOException
public void finishOutputStream(OutputStream out) throws IOException
finishOutputStream
in interface IStreamWrapper
IOException
Copyright (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