Android Utililty Methods Writer Write

List of utility methods to do Writer Write

Description

The list of methods to do Writer Write are organized into topic(s).

Method

voidcopy(String input, Writer output)
Copy chars from a String to a Writer.
output.write(input);
voidwriteEscapedChar(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) {
...
voidwriteEscapedString(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;
...