public class InflaterInputStream extends PartInputStream
| Constructor and Description |
|---|
InflaterInputStream(RandomAccessFile raf,
long start,
long len,
UnzipEngine unzipEngine) |
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns 0 after EOF has been reached, otherwise always return 1.
|
void |
close() |
UnzipEngine |
getUnzipEngine() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
long |
skip(long n)
Skips specified number of bytes of uncompressed data.
|
checkAndReadAESMacBytesmark, markSupported, resetpublic InflaterInputStream(RandomAccessFile raf, long start, long len, UnzipEngine unzipEngine)
public int read()
throws IOException
read in class PartInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class PartInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class PartInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class PartInputStreamn - the number of bytes to skipIOException - if an I/O error has occurredIllegalArgumentException - if n < 0public void seek(long pos)
throws IOException
seek in class PartInputStreamIOExceptionpublic int available()
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
available in class PartInputStreamIOException - if an I/O error occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class PartInputStreamIOExceptionpublic UnzipEngine getUnzipEngine()
getUnzipEngine in class PartInputStreamCopyright © 2013. All rights reserved.