question: private String readLine ( ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; int c ; while ( ( c = ctrlInput . read ( ) ) != '\n' ) { sb . append ( ( char ) c ) ; } return sb . toString ( ) ; }
target:  Read a line of text and return it for possible parsing