/** * Defines the text to search. * @param newText The text to be analyzed */ public void setText(String newText) { text = newText; setup(); }
/** * Creates a new default AbstractWordFinder object. */ public AbstractWordFinder() { text = ""; setup(); } //~ Methods ...............................................................
/** * Creates a new AbstractWordFinder object. * * @param inText the String to iterate through. */ public AbstractWordFinder(String inText) { text = inText; setup(); }