public class CountingInputStream extends FilterInputStream
in| 构造器和说明 |
|---|
CountingInputStream(InputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getByteCount()
Returns the number of bytes read from this stream so far.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skippublic CountingInputStream(InputStream in)
public long getByteCount()
public int read()
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 FilterInputStreamIOExceptionCopyright © 2016. All rights reserved.