@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, readpublic CountingInputStream(InputStream in)
public CountingInputStream(InputStream in, long initialCount)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreamCopyright © 2018 Arno Unkrig. All rights reserved.