Class MultiMemberOpenJDKGZIPInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.archive.util.zip.OpenJDK7InflaterInputStream
org.archive.util.zip.OpenJDK7GZIPInputStream
org.archive.util.io.MultiMemberOpenJDKGZIPInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class org.archive.util.zip.OpenJDK7GZIPInputStream
crc, FCOMMENT, FEXTRA, FHCRC, FNAME, FTEXT, GZIP_MAGICFields inherited from class org.archive.util.zip.OpenJDK7InflaterInputStream
buf, inf, len, usesDefaultInflaterFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintread(byte[] inputBuffer, int inputBufferOffset, int inputBufferLen) Reads uncompressed data into an array of bytes.Methods inherited from class org.archive.util.zip.OpenJDK7GZIPInputStream
close, readHeader, readTrailer, readUByte, readUInt, readUShort, skipBytesMethods inherited from class org.archive.util.zip.OpenJDK7InflaterInputStream
available, fill, mark, markSupported, read, reset, skipMethods inherited from class java.io.FilterInputStream
read
-
Constructor Details
-
MultiMemberOpenJDKGZIPInputStream
- Throws:
IOException
-
MultiMemberOpenJDKGZIPInputStream
- Throws:
IOException
-
-
Method Details
-
read
Description copied from class:OpenJDK7GZIPInputStreamReads uncompressed data into an array of bytes. Iflenis not zero, the method will block until some input can be decompressed; otherwise, no bytes are read and0is returned.- Overrides:
readin classOpenJDK7GZIPInputStream- Parameters:
inputBuffer- the buffer into which the data is readinputBufferOffset- the start offset in the destination arraybinputBufferLen- the maximum number of bytes read- Returns:
- the actual number of bytes read, or -1 if the end of the compressed input stream is reached
- Throws:
IOException- if an I/O error has occurred.
-