Package arc.util.io
Class CounterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
arc.util.io.CounterInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
count
public int count
-
-
Constructor Details
-
CounterInputStream
-
-
Method Details
-
resetCount
public void resetCount() -
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-