com.swabunga.spell.event
public class JavaWordFinder extends AbstractWordFinder
Constructor Summary | |
---|---|
JavaWordFinder(String inText)
Creates a new JavaWordFinder object.
| |
JavaWordFinder()
Creates a new JavaWordFinder object. |
Method Summary | |
---|---|
protected void | init()
Initializes this word finder |
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.