|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.topologi.diffx.load.text.CharactersTokeniser
The tokeniser for characters events.
| Constructor Summary | |
CharactersTokeniser(CharSequence cs)
Creates a new tokeniser. |
|
| Method Summary | |
int |
countTokens()
Calculates the number of times that this tokenizer's nextToken method can be
called before it generates an exception. |
TextEvent |
nextToken()
Returns the following token. |
void |
useRepertory(Repertory repertory)
Does nothing. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CharactersTokeniser(CharSequence cs)
throws NullPointerException
cs - The character sequence to tokenise.
NullPointerException - If the specified character sequence is null.| Method Detail |
public int countTokens()
nextToken method can be
called before it generates an exception.
countTokens in interface TextTokeniser
public TextEvent nextToken()
throws NoSuchElementException
nextToken in interface TextTokeniserNoSuchElementException - If the last token has already been returned.public void useRepertory(Repertory repertory)
useRepertory in interface TextTokeniserrepertory - The repertory to use.TextTokeniser.useRepertory(com.topologi.diffx.event.lang.Repertory)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||