|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.util.StringParser
public class StringParser
Parse a string containing zero or more string literals.
| Constructor Summary | |
|---|---|
StringParser(java.lang.String s)
Construct a string parser for the specified string. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreStrings()
Determine whether the parser has more strings. |
java.lang.String |
nextString()
Get the next string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringParser(java.lang.String s)
s - string to parse.| Method Detail |
|---|
public boolean hasMoreStrings()
public java.lang.String nextString()
java.util.NoSuchElementException - if parser has no more strings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||