final class Crc32CheckingInputStream extends CheckedInputStream
close().| Modifier and Type | Field and Description |
|---|---|
private ZipEntry |
entry |
private int |
size |
in| Constructor and Description |
|---|
Crc32CheckingInputStream(InputStream in,
ZipEntry entry,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
skip(long toSkip)
This method skips
toSkip bytes in the given input stream
using the given buffer unless EOF or IOException. |
getChecksum, read, readavailable, mark, markSupported, read, resetprivate final ZipEntry entry
private final int size
Crc32CheckingInputStream(InputStream in, ZipEntry entry, int size)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic long skip(long toSkip)
throws IOException
toSkip bytes in the given input stream
using the given buffer unless EOF or IOException.skip in class CheckedInputStreamIOExceptionCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.