private void getFirstToken ( StreamTokenizer tokenizer ) throws IOException { while ( tokenizer . nextToken ( ) == StreamTokenizer . TT_EOL ) { } if ( ( tokenizer . ttype == ' ' ) || ( tokenizer . ttype == ' ' ) ) { tokenizer . ttype = StreamTokenizer . TT_WORD ; } else if ( ( tokenizer . ttype == StreamTokenizer . TT_WORD ) && ( tokenizer . sval . equals ( "?" ) ) ) { tokenizer . ttype = ' ' ; } }
Gets next token skipping empty lines .