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