Package net.sf.basedb.core
Class Migration.ProgressInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
net.sf.basedb.core.Migration.ProgressInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- Migration
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private long
private long
private final ProgressReporter
private long
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, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
progress
-
numLines
private long numLines -
nextTick
private long nextTick -
TICK_INTERVAL
private long TICK_INTERVAL -
lastMsg
-
-
Constructor Details
-
ProgressInputStream
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
append
-