http://www.javatpoint.com/string-tokenizer-in-java
The java.util.StringTokenizer class allows you to break a string into tokens. It is simple way to break string.
It doesn’t provide the facility to differentiate numbers, quoted strings, identifiers etc.