Package org.jets3t.service.io
Class GZipDeflatingInputStream
java.lang.Object
java.io.InputStream
org.jets3t.service.io.GZipDeflatingInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,InputStreamWrapper
Input stream that wraps another stream and deflates (compresses) the underlying stream's
data on-the-fly. This class provides only a basic implementation of GZip functionality.
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
GZipDeflatingInputStream
- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
getWrappedInputStream
- Specified by:
getWrappedInputStream
in interfaceInputStreamWrapper
- Returns:
- the underlying input stream wrapped by this class.
-