org.apache.commons.io.output
public class ProxyWriter extends FilterWriter
Version: $Id: ProxyWriter.java 610010 2008-01-08 14:50:59Z niallp $
| Constructor Summary | |
|---|---|
| ProxyWriter(Writer proxy)
Constructs a new ProxyWriter.
| |
| 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(char[] chr)
Invokes the delegate's write(char[]) method. |
| void | write(char[] chr, int st, int end)
Invokes the delegate's write(char[], int, int) method. |
| void | write(String str)
Invokes the delegate's write(String) method. |
| void | write(String str, int st, int end)
Invokes the delegate's write(String) method. |
Parameters: proxy the Writer 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 character to write
Throws: IOException if an I/O error occurs
write(char[]) method.Parameters: chr the characters to write
Throws: IOException if an I/O error occurs
write(char[], int, int) method.Parameters: chr the characters to write st The start offset end The number of characters to write
Throws: IOException if an I/O error occurs
write(String) method.Parameters: str the string to write
Throws: IOException if an I/O error occurs
write(String) method.Parameters: str the string to write st The start offset end The number of characters to write
Throws: IOException if an I/O error occurs