private void readQuote ( char quote , StringBuilder builder ) { builder . append ( quote ) ; boolean isBackslash = false ; for ( ; ; ) { char ch = read ( ) ; builder . append ( ch ) ; if ( ch == quote && ! isBackslash ) { return ; } isBackslash = ch == ' ' ; } }
Read a quoted string and append it to the builder .