return null;
return "";
    protected String getLine(StringBuffer buffer) {        int lf = buffer.indexOf("\n");        if (lf > -1) {            int cr = buffer.indexOf("\r");            if (cr == -1 || cr > lf) {                cr = lf;            }            String line = buffer.substring(0,cr);            buffer.delete(0, lf+1);            _logger.finest("line is '" + line + "'");            return line;        } else if (buffer.length() > 0) {            String line = buffer.toString();            buffer.setLength(0);            _logger.finest("line is '" + line + "'");            return line;        } else {            return null;        }    }