com.swabunga.spell.event
public class DefaultWordFinder extends AbstractWordFinder
Constructor Summary | |
---|---|
DefaultWordFinder(String inText)
Creates a new DefaultWordFinder object.
| |
DefaultWordFinder()
Creates a new DefaultWordFinder object. |
Method Summary | |
---|---|
Word | next()
This method scans the text from the end of the last word, and returns a
new Word object corresponding to the next word.
|
Parameters: inText the String to search
Returns: the next word.
Throws: WordNotFoundException search string contains no more words.