public class XMLFormatterWriter extends FilterWriter
FilterWriter
scans the character stream for tags and inserts "artificial" line breaks as follows:
<a><b
</a><b
<a/><b
</a></b
<a/></b
out
Constructor and Description |
---|
XMLFormatterWriter(Writer out) |
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, flush
public XMLFormatterWriter(Writer out)
XMLFormatterWriter
public void write(int c) throws IOException
write
in class FilterWriter
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class FilterWriter
IOException
public void write(String str, int off, int len) throws IOException
write
in class FilterWriter
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.