de.schlichtherle.truezip.zip
Class RawZipFile.CheckedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.util.zip.CheckedInputStream
de.schlichtherle.truezip.zip.RawZipFile.CheckedInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- RawZipFile<E extends ZipEntry>
private static final class RawZipFile.CheckedInputStream
- extends CheckedInputStream
extends its super class to perform the check again the expected CRC
from the entry provided to its constructor when close() is called.
|
Method Summary |
void |
close()
|
long |
skip(long toSkip)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entry
private final ZipEntry entry
size
private final int size
RawZipFile.CheckedInputStream
public RawZipFile.CheckedInputStream(InputStream in,
ZipEntry entry,
int size)
skip
public long skip(long toSkip)
throws IOException
- Overrides:
skip in class CheckedInputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class FilterInputStream
- Throws:
IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.