public class LaxGZIPInputStream
extends java.util.zip.GZIPInputStream
GZIPInputStream subclass that has a flag to accept
"edgy streams" that signal end of stream with EOFException
which seems to be rather frequent| Constructor and Description |
|---|
LaxGZIPInputStream(java.io.InputStream wrapped,
boolean relax) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public LaxGZIPInputStream(java.io.InputStream wrapped,
boolean relax)
throws java.io.IOException
wrapped - the InputStream that should be wrappedrelax - flag to enable relaxed modejava.io.IOException - when super class throws an IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.util.zip.GZIPInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.util.zip.InflaterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.