@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, resetCount
close, flush, handleIOException, write, write, write
private ActionListener listener
public DownloadCountingOutputStream(OutputStream out)
public void setListener(ActionListener listener)
protected void afterWrite(int n) throws IOException
afterWrite
in class ProxyOutputStream
IOException