private void printLine(String line) {
    try {
      if (!endedByNewLine) {
        appendable.append("\n");
      }
      appendable.append(line);
      appendable.append("\n");
      endedByNewLine = true;
    }
    catch (IOException ignored) {
    }
  }
private void printLine(String line)