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, skip
public CountingInputStream(InputStream in)
public long getByteCount()
public int read() throws IOException
read
在类中 FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 FilterInputStream
IOException
Copyright © 2016. All rights reserved.