public class CountedInputStream extends InputStream
Constructor and Description |
---|
CountedInputStream(InputStream wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
count() |
void |
mark(int readlimit) |
int |
read() |
void |
reset() |
void |
resetCount() |
available, markSupported, read, read, skip
public CountedInputStream(InputStream wrapped)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public long count()
public void resetCount()
public void mark(int readlimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2017–2018 earcam. All rights reserved.