private void writeLineSeparator(Writer out) throws IOException {
    if (currentFormat.lineSeparator != null) {
      out.write(currentFormat.lineSeparator);
    }
  }
private void writeLineSeparator(Writer out)