Android Utililty Methods BufferedWriter Write

List of utility methods to do BufferedWriter Write

Description

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

Method

voidwriteText(BufferedWriter bw, String text, String prefix)
write text, make every line starts with prefix
int len = text.length();
int current = 0;
int last = 0;
while (current < len) {
    char c = text.charAt(current);
    if (c == '\n' || c == '\r') {
        if (last != current)
            bw.write(prefix + text.substring(last, current));
...