public interface TokenIterator
extends java.util.Iterator<java.lang.Object>
String tokens.
This interface is designed as a complement to
HeaderElementIterator, in cases where the items
are plain strings rather than full header elements.boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Object>true if there is another token,
false otherwisejava.lang.String nextToken()
hasNext
is true.