Package ubic.gemma.core.util
Class ProgressInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
ubic.gemma.core.util.ProgressInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionProgressInputStream(InputStream in, Object what, String logCategory, long maxSizeInBytes) -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
-
Constructor Details
-
ProgressInputStream
- Parameters:
what- an object describing what is being processed, it will be used for logging purposeslogCategory- a log category to report progress tomaxSizeInBytes- the maximum size in bytes
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-