public class GZIPSeriesMember extends InputStream implements GZIPConstants
BYTES_IN_INT, BYTES_IN_SHORT, GZIP_COMPRESSION_METHOD_DEFLATE, GZIP_COMPRESSION_METHOD_IDX, GZIP_FEXTRA_LENGTH_BYTES, GZIP_FEXTRA_LENGTH_IDX, GZIP_FEXTRA_NAME_BYTES, GZIP_FEXTRA_NAME_IDX, GZIP_FEXTRA_VALUE_IDX, GZIP_FEXTRA_VALUE_MAX_LENGTH, GZIP_FLAG_FCOMMENT, GZIP_FLAG_FEXTRA, GZIP_FLAG_FHCRC, GZIP_FLAG_FNAME, GZIP_FLAG_FTEXT, GZIP_FLAG_IDX, GZIP_FLAG_VALID_BITS, GZIP_FOOTER_BYTES, GZIP_MAGIC_ONE, GZIP_MAGIC_ONE_IDX, GZIP_MAGIC_TWO, GZIP_MAGIC_TWO_IDX, GZIP_MTIME_IDX, GZIP_MTIME_LENGTH, GZIP_OS_IDX, GZIP_OS_UNIX, GZIP_STATIC_FOOTER_SIZE, GZIP_STATIC_HEADER_SIZE, GZIP_XFL_IDX, LX_RECORD, LX_RECORD_VALUE, NO_BYTES_IN_STREAM, SL_RECORD| Constructor and Description |
|---|
GZIPSeriesMember(GZIPMemberSeries series,
GZIPHeader header) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getCompressedBytesRead() |
GZIPFooter |
getFooter() |
GZIPHeader |
getHeader() |
String |
getRecordFileContext() |
long |
getRecordStartOffset() |
long |
getUncompressedBytesRead() |
boolean |
gotEOR() |
boolean |
gotGZipError() |
boolean |
gotIOError() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long amt) |
void |
skipMember() |
public GZIPSeriesMember(GZIPMemberSeries series, GZIPHeader header)
public GZIPFooter getFooter()
public GZIPHeader getHeader()
public long getRecordStartOffset()
public String getRecordFileContext()
public boolean gotEOR()
public boolean gotIOError()
public boolean gotGZipError()
public long getUncompressedBytesRead()
public long getCompressedBytesRead()
public void skipMember()
throws IOException
IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long amt)
throws IOException
skip in class InputStreamIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.