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