private int absorbWhitespace ( final StreamTokenizer tokeniser , Reader in , boolean ignoreEOF ) throws IOException , ParserException { // HACK: absorb extraneous whitespace between components (KOrganizer).. int ntok ; while ( ( ntok = nextToken ( tokeniser , in , ignoreEOF ) ) == StreamTokenizer . TT_EOL ) { if ( log . isTraceEnabled ( ) ) { log . trace ( "Absorbing extra whitespace.." ) ; } } if ( log . isTraceEnabled ( ) ) { log . trace ( "Aborting: absorbing extra whitespace complete" ) ; } return ntok ; }
Absorbs extraneous newlines .