lookAheadWord static method
Returns the next word in the stream.
@param tokenizer tokenizer over a stream of text in Well-known Text format. The next token must be a word. @return the next word in the stream as uppercase text @throws ParseException if the next token is not a word @throws IOException if an I/O error occurs
Implementation
static String lookAheadWord(WKTTokenizer tokenizer) {
String nextWord = getNextWord(tokenizer);
tokenizer.pushBack();
return nextWord;
}