public class ProxyWriter
extends java.io.FilterWriter
Constructor and Description |
---|
ProxyWriter(java.io.Writer proxy)
Constructs a new ProxyWriter.
|
Modifier and Type | Method and Description |
---|---|
java.io.Writer |
append(char c)
Invokes the delegate's
append(char) method. |
java.io.Writer |
append(java.lang.CharSequence csq)
Invokes the delegate's
append(CharSequence) method. |
java.io.Writer |
append(java.lang.CharSequence csq,
int start,
int end)
Invokes the delegate's
append(CharSequence, int, int) method. |
void |
close()
Invokes the delegate's
close() method. |
void |
flush()
Invokes the delegate's
flush() method. |
void |
write(char[] chr)
Invokes the delegate's
write(char[]) method. |
void |
write(char[] chr,
int st,
int len)
Invokes the delegate's
write(char[], int, int) method. |
void |
write(int idx)
Invokes the delegate's
write(int) method. |
void |
write(java.lang.String str)
Invokes the delegate's
write(String) method. |
void |
write(java.lang.String str,
int st,
int len)
Invokes the delegate's
write(String) method. |
public ProxyWriter(java.io.Writer proxy)
proxy
- the Writer to delegate topublic java.io.Writer append(char c) throws java.io.IOException
append(char)
method.append
in interface java.lang.Appendable
append
in class java.io.Writer
c
- The character to writejava.io.IOException
- if an I/O error occurspublic java.io.Writer append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append(CharSequence, int, int)
method.append
in interface java.lang.Appendable
append
in class java.io.Writer
csq
- The character sequence to writestart
- The index of the first character to writeend
- The index of the first character to write (exclusive)java.io.IOException
- if an I/O error occurspublic java.io.Writer append(java.lang.CharSequence csq) throws java.io.IOException
append(CharSequence)
method.append
in interface java.lang.Appendable
append
in class java.io.Writer
csq
- The character sequence to writejava.io.IOException
- if an I/O error occurspublic void write(int idx) throws java.io.IOException
write(int)
method.write
in class java.io.FilterWriter
idx
- the character to writejava.io.IOException
- if an I/O error occurspublic void write(char[] chr) throws java.io.IOException
write(char[])
method.write
in class java.io.Writer
chr
- the characters to writejava.io.IOException
- if an I/O error occurspublic void write(char[] chr, int st, int len) throws java.io.IOException
write(char[], int, int)
method.write
in class java.io.FilterWriter
chr
- the characters to writest
- The start offsetlen
- The number of characters to writejava.io.IOException
- if an I/O error occurspublic void write(java.lang.String str) throws java.io.IOException
write(String)
method.write
in class java.io.Writer
str
- the string to writejava.io.IOException
- if an I/O error occurspublic void write(java.lang.String str, int st, int len) throws java.io.IOException
write(String)
method.write
in class java.io.FilterWriter
str
- the string to writest
- The start offsetlen
- The number of characters to writejava.io.IOException
- if an I/O error occurspublic void flush() throws java.io.IOException
flush()
method.flush
in interface java.io.Flushable
flush
in class java.io.FilterWriter
java.io.IOException
- if an I/O error occurspublic void close() throws java.io.IOException
close()
method.close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterWriter
java.io.IOException
- if an I/O error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved