org.sourceforge.jxutil.io
Class CountingInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.sourceforge.jxutil.io.CountingInputStream
- public final class CountingInputStream
- extends FilterInputStream
Count bytes read.
Field Summary |
private long |
mark
|
private long |
read
|
Method Summary |
void |
mark(int readlimit)
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
long |
tell()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mark
private long mark
read
private long read
CountingInputStream
public CountingInputStream(InputStream in)
mark
public final void mark(int readlimit)
- Overrides:
mark
in class FilterInputStream
read
public final int read()
throws IOException
- Overrides:
read
in class FilterInputStream
IOException
read
public final int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
IOException
reset
public final void reset()
throws IOException
- Overrides:
reset
in class FilterInputStream
IOException
skip
public final long skip(long n)
throws IOException
- Overrides:
skip
in class FilterInputStream
IOException
tell
public final long tell()
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.