@Deprecated public class CountingInputStream extends FilterInputStream
FilterInputStream
that counts the number of bytes read through it.in
Constructor and Description |
---|
CountingInputStream(InputStream in)
Deprecated.
|
CountingInputStream(InputStream in,
long initialCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
mark(int readlimit)
Deprecated.
|
boolean |
markSupported()
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
void |
reset()
Deprecated.
|
long |
skip(long n)
Deprecated.
|
available, close, read
public CountingInputStream(InputStream in)
public CountingInputStream(InputStream in, long initialCount)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public void mark(int readlimit)
mark
in class FilterInputStream
public void reset() throws IOException
reset
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
Copyright © 2018 Arno Unkrig. All rights reserved.