List of utility methods to do Writer Write
void | copy(String input, Writer output) Copy chars from a String to a Writer .
output.write(input); |
void | writeEscapedChar(Writer writer, char c) write Escaped Char if ((c >= ' ') && (c < 0x7f)) { if ((c == '\'') || (c == '\"') || (c == '\\')) { writer.write('\\'); writer.write(c); return; } else if (c <= 0x7f) { switch (c) { ... |
void | writeEscapedString(Writer writer, String value) write Escaped String for (int i = 0; i < value.length(); i++) { char c = value.charAt(i); if ((c >= ' ') && (c < 0x7f)) { if ((c == '\'') || (c == '\"') || (c == '\\')) { writer.write('\\'); writer.write(c); continue; ... |