private boolean finishLine(boolean sawNewline) throws IOException {
  handleLine(line.toString(),sawReturn ? (sawNewline ? "\r\n" : "\r") : (sawNewline ? "\n" : ""));
  line=new StringBuilder();
  sawReturn=false;
  return sawNewline;
}

private boolean finishLine ( boolean sawNewline ) throws IOException { handleLine ( line . toString ( ) , sawReturn ? ( sawNewline ? "\r\n" : "\r" ) : ( sawNewline ? "\n" : "" ) ) ; line = new StringBuilder ( ) ; sawReturn = false ; return sawNewline ; }
called when a line is complete .
