|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPoemTokenizer
Class representing a PoemTokenizer.
Constructor Summary | |
PoemTokenizer()
Create an instance of PoemTokenizer. |
Method Summary | |
boolean |
hasMoreTokens()
Helper method hasMoreTokens checks if the current position in the private tokenList is not at the end |
YaspToken |
nextToken()
Helper method nextToken delivers next token of the private tokenList, if this.hasMoreTokens() returns true |
void |
setPoemSource(java.io.FileReader r)
Separate words from meta information such as stanza and verse. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PoemTokenizer()
Method Detail |
public void setPoemSource(java.io.FileReader r) throws java.io.IOException
r
- the input file to process
java.io.IOException
public boolean hasMoreTokens()
public YaspToken nextToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |