public class LogWriter extends FilterWriter
The writer is piped in the writing process, any characters written are copied to an associated writer object.
Client -> LogWriter -> Writer -> Destination
|
v
Writer (Copy)
| Constructor and Description |
|---|
LogWriter(Writer o,
Writer log)
EscapeWriter constructor comment.
|
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterWriterIOException - If an I/O error occurspublic void flush()
throws IOException
flush in interface Flushableflush in class FilterWriterIOException - If an I/O error occurspublic Writer getLog()
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class FilterWriterIOExceptionpublic void write(int c)
throws IOException
write in class FilterWriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class FilterWriterIOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.