org.apache.commons.io.output
public class ProxyOutputStream extends FilterOutputStream
Version: $Id: ProxyOutputStream.java 610010 2008-01-08 14:50:59Z niallp $
| Constructor Summary | |
|---|---|
| ProxyOutputStream(OutputStream proxy)
Constructs a new ProxyOutputStream.
| |
| Method Summary | |
|---|---|
| void | close()
Invokes the delegate's close() method. |
| void | flush()
Invokes the delegate's flush() method. |
| void | write(int idx)
Invokes the delegate's write(int) method. |
| void | write(byte[] bts)
Invokes the delegate's write(byte[]) method. |
| void | write(byte[] bts, int st, int end)
Invokes the delegate's write(byte[]) method. |
Parameters: proxy the OutputStream to delegate to
close() method.Throws: IOException if an I/O error occurs
flush() method.Throws: IOException if an I/O error occurs
write(int) method.Parameters: idx the byte to write
Throws: IOException if an I/O error occurs
write(byte[]) method.Parameters: bts the bytes to write
Throws: IOException if an I/O error occurs
write(byte[]) method.Parameters: bts the bytes to write st The start offset end The number of bytes to write
Throws: IOException if an I/O error occurs