private boolean isCompleteLine(String[] line)
    {
        // If the last string starts with a quote, but doesnt't end with one
        //   then it must be a linefeed in the middle of a data field
        String lastStr = line[line.length-1];
        boolean isPartial = lastStr != null 
            && (lastStr.equals("\"") || line.length == 1
                || (lastStr.startsWith("\"") && !lastStr.endsWith("\"")));
        return !isPartial;
    }
private boolean isCompleteLine ( String [ ] line ) { String lastStr = line [ line . length - 1 ] ; boolean isPartial = lastStr != null && ( lastStr . equals ( "\"" ) || line . length == 1 || ( lastStr . startsWith ( "\"" ) && ! lastStr . endsWith ( "\"" ) ) ) ; return ! isPartial ; }
Returns <CODE>true</CODE> if the given array of strings represents a complete line.
<P>
Returns <CODE>false</CODE> if end of the last item in the given array of strings has a line break in the middle.