java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.util.zip.InflaterInputStream
java.util.zip.GZIPInputStream
com.aoapps.lang.zip.CorrectedGZIPInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Works around the "Corrupt GZIP trailer" problem in
GZIPInputStream
by catching and ignoring this exception.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class java.util.zip.GZIPInputStream
crc, eos, GZIP_MAGIC
Fields inherited from class java.util.zip.InflaterInputStream
buf, inf, len
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.zip.GZIPInputStream
close
Methods inherited from class java.util.zip.InflaterInputStream
available, fill, mark, markSupported, read, reset, skip
Methods inherited from class java.io.FilterInputStream
read
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
Constructor Details
-
CorrectedGZIPInputStream
- Throws:
IOException
-
CorrectedGZIPInputStream
- Throws:
IOException
-
-
Method Details
-
read
- Overrides:
read
in classGZIPInputStream
- Throws:
IOException
-