public class ProxyOutputStream extends FilterOutputStream
FilterOutputStream where the delegate can also be changed after construction.out| Constructor and Description |
|---|
ProxyOutputStream(OutputStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
setDelegate(OutputStream delegate) |
void |
write(byte[] ba,
int off,
int len) |
close, flush, write, writepublic ProxyOutputStream(OutputStream delegate)
public void setDelegate(OutputStream delegate)
delegate - The new delegatepublic void write(byte[] ba,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.