question: protected void skipUntil ( Reader r , char until ) throws IOException { char c ; do { c = ( char ) r . read ( ) ; } while ( c != until && c != ( char ) - 1 ) ; }
target:  Reads and skips all characters until character "until" is read or end of stream is reached. Also the expected character is discarded.