|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.services.location.compass.tokenizer.Tokenizer
public class Tokenizer
Tokenizer used in Parser. (We should perhaps deprecate this Tokenizer and change the Parser to use Java String.split instead, but the .split is not working on JVM runing on the PDA, due to version compa.)
| Constructor Summary | |
|---|---|
Tokenizer(java.lang.String s)
Constructs a new tokenizer for the given string. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.String |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tokenizer(java.lang.String s)
s - String to be tokenized| Method Detail |
|---|
public boolean hasNext()
public java.lang.String next()
throws java.util.NoSuchElementException
java.util.NoSuchElementException - If there is no token left
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||