private static final class RawZipFile.RawCheckedInputStream extends DecoratingInputStream
close.| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
private Checksum |
crc |
private ZipEntry |
entry |
private Inflater |
inf |
private byte[] |
infBuf |
private byte[] |
singleByteBuf |
delegate| Constructor and Description |
|---|
RawZipFile.RawCheckedInputStream(InputStream in,
ZipEntry entry,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private void |
ensureOpen() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
void |
reset() |
long |
skip(long toSkip) |
available, read, toStringprivate final Checksum crc
private final byte[] singleByteBuf
private final Inflater inf
private final byte[] infBuf
private final ZipEntry entry
private boolean closed
public RawZipFile.RawCheckedInputStream(InputStream in, ZipEntry entry, int size)
private void ensureOpen()
throws IOException
IOExceptionpublic int read()
throws IOException
read in class DecoratingInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class DecoratingInputStreamIOExceptionpublic long skip(long toSkip)
throws IOException
skip in class DecoratingInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingInputStreamIOExceptionpublic void mark(int readlimit)
mark in class DecoratingInputStreampublic void reset()
throws IOException
reset in class DecoratingInputStreamIOExceptionpublic boolean markSupported()
markSupported in class DecoratingInputStreamCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.