@Environment(value=CLIENT) class FileDownload.DownloadCountingOutputStream extends CountingOutputStream
| Modifier and Type | Field and Description |
|---|---|
private ActionListener |
listener |
out| Constructor and Description |
|---|
DownloadCountingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterWrite(int n) |
void |
setListener(ActionListener listener) |
beforeWrite, getByteCount, getCount, resetByteCount, resetCountclose, flush, handleIOException, write, write, writeprivate ActionListener listener
public DownloadCountingOutputStream(OutputStream out)
public void setListener(ActionListener listener)
protected void afterWrite(int n)
throws IOException
afterWrite in class ProxyOutputStreamIOException