public class GZIPStreamWrapper extends java.lang.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(java.io.InputStream in) |
void |
finishOutputStream(java.io.OutputStream out) |
java.util.zip.GZIPInputStream |
wrapInputStream(java.io.InputStream in) |
java.util.zip.GZIPOutputStream |
wrapOutputStream(java.io.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 java.util.zip.GZIPInputStream wrapInputStream(java.io.InputStream in) throws java.io.IOException
wrapInputStream
in interface IStreamWrapper
java.io.IOException
public java.util.zip.GZIPOutputStream wrapOutputStream(java.io.OutputStream out) throws java.io.IOException
wrapOutputStream
in interface IStreamWrapper
java.io.IOException
public void finishInputStream(java.io.InputStream in) throws java.io.IOException
finishInputStream
in interface IStreamWrapper
java.io.IOException
public void finishOutputStream(java.io.OutputStream out) throws java.io.IOException
finishOutputStream
in interface IStreamWrapper
java.io.IOException
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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