Package org.openscience.jvxl
Class MonitorInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.openscience.jvxl.MonitorInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) int(package private) int(package private) int(package private) longFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, markSupportedMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
length
int length -
position
int position -
markPosition
int markPosition -
readEventCount
int readEventCount -
timeBegin
long timeBegin
-
-
Constructor Details
-
MonitorInputStream
MonitorInputStream(InputStream in, int length)
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classFilterInputStream
-
reset
- Overrides:
resetin classFilterInputStream- Throws:
IOException
-
getPosition
int getPosition() -
getLength
int getLength() -
getPercentageRead
int getPercentageRead() -
getReadingTimeMillis
int getReadingTimeMillis()
-