code: private void readTillEOL(StreamTokenizer tokenizer) throws IOException {
          while (tokenizer.nextToken() != StreamTokenizer.TT_EOL) {
          }
  
          tokenizer.pushBack();
      }
docs: Reads and skips all tokens before next end of line token.
  
  @throws IOException in case something goes wrong