class Migration.ProgressInputStream
extends java.io.FilterInputStream
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lastMsg |
private long |
nextTick |
private long |
numLines |
private ProgressReporter |
progress |
private long |
TICK_INTERVAL |
Constructor and Description |
---|
Migration.ProgressInputStream(java.io.InputStream parent,
ProgressReporter progress) |
private final ProgressReporter progress
private long numLines
private long nextTick
private long TICK_INTERVAL
private java.lang.String lastMsg
public Migration.ProgressInputStream(java.io.InputStream parent, ProgressReporter progress)
public int read(byte[] buffer) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public void append(java.lang.String msg)