protected void println(String str, Writer output) throws IOException { if (str != null) { output.write(str); }
protected void println(Writer output) throws IOException {
    protected void println(String str, Writer output) throws IOException {        if (str != null) {            output.write(str);        }        output.write(getEOL());    }