/** * Return the next token from this tokenizer. * Keep escapes and quotes intact. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextTokenKeepEscapes() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(true); }
/** * Return the next token from this tokenizer. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextToken() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(false); }
/** * Return the next token from this tokenizer. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextToken() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(false); }
/** * Return the next token from this tokenizer. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextToken() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(false); }
/** * Return the next token from this tokenizer. * Keep escapes and quotes intact. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextTokenKeepEscapes() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(true); }
/** * Return the next token from this tokenizer. * Keep escapes and quotes intact. * * @return the next token from this tokenizer. * @exception NoSuchElementException if there are no more tokens in this * tokenizer's string. */ public String nextTokenKeepEscapes() throws NoSuchElementException { if (currentPosition >= maxPosition) { throw new NoSuchElementException( localStrings.getLocalString("NoMoreTokens", "No more tokens")); } return scanToken(true); }