public class EscapingWriter extends FilterWriter
out| Constructor and Description |
|---|
EscapingWriter(Writer out)
Create a new filtered writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str,
int off,
int len) |
close, flushpublic EscapingWriter(Writer out)
out - a Writer object to provide the underlying stream.NullPointerException - if out is nullpublic void write(int c)
throws IOException
write in class FilterWriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class FilterWriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class FilterWriterIOExceptionCopyright © 2018. All rights reserved.