public static class RolapUtil.TeeWriter extends FilterWriter
Modifier and Type | Field and Description |
---|---|
(package private) StringWriter |
buf |
out
Modifier and Type | Method and Description |
---|---|
Writer |
getWriter()
Returns the underlying writer.
|
String |
toString()
Returns everything which has been written so far.
|
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
close, flush
StringWriter buf
public TeeWriter(Writer out)
public String toString()
public Writer getWriter()
public void write(int c) throws IOException
write
in class FilterWriter
IOException
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class FilterWriter
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(String str, int off, int len) throws IOException
write
in class FilterWriter
IOException