public class NativeToAsciiFilterWriter extends FilterWriter
Rework of the Sun open source code - write UTF escapes for higher than ASCII characters. Known issues: The serialization does not use caps for hex A-F as I would like
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
lineBreak |
out| Constructor and Description |
|---|
NativeToAsciiFilterWriter(Writer out) |
final String lineBreak
public NativeToAsciiFilterWriter(Writer out)
public void write(char[] buf,
int off,
int len)
write in class FilterWriterpublic void write(String str, int off, int len) throws IOException
write in class FilterWriterstr - String to be writtenoff - Offset from which to start reading characterslen - Number of characters to be writtenIOException - If an I/O error occursCopyright © 2011-2014 David R. Smith. All Rights Reserved.