public class CheckedInputStream extends FilterInputStream
in
Constructor and Description |
---|
CheckedInputStream(InputStream in,
Checksum cs) |
Modifier and Type | Method and Description |
---|---|
Checksum |
getChecksum() |
int |
read() |
int |
read(byte[] buf,
int offset,
int len) |
long |
skip(long n) |
available, close, mark, markSupported, read, reset
public CheckedInputStream(InputStream in, Checksum cs)
public Checksum getChecksum()
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int offset, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException