public class EscapeWriter extends Writer
| Constructor and Description |
|---|
EscapeWriter(Writer o)
EscapeWriter constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream, flushing it first.
|
void |
flush()
Flush the stream.
|
String |
getDestinationChars() |
Writer |
getOut() |
String |
getSourceChars() |
void |
setDestinationChars(String newDestinationChars) |
void |
setSourceChars(String newSourceChars) |
void |
write(char[] cbuf,
int off,
int len) |
public EscapeWriter(Writer o)
o - java.io.Writerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOException - If an I/O error occurspublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOException - If an I/O error occurspublic String getDestinationChars()
public Writer getOut()
public String getSourceChars()
public void setDestinationChars(String newDestinationChars)
public void setSourceChars(String newSourceChars)
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.