public class ProgressReportingSource
extends ForwardingSource
Modifier and Type | Class and Description |
---|---|
static interface |
ProgressReportingSource.ProgressListener |
Constructor and Description |
---|
ProgressReportingSource(Source delegate,
long contentLength,
ProgressReportingSource.ProgressListener progressListener) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
read(Buffer sink,
long byteCount) |
public ProgressReportingSource(Source delegate, long contentLength, ProgressReportingSource.ProgressListener progressListener)