/* * TrivialInvestigator.java * * Created on October 10, 2002, 1:31 AM */ /** * Pretty much a stub to allow some testing of other classes * * @author dickey */ public class TrivialInvestigator implements IDateInvestigator { String dateString = "date has not been initialized"; /** Creates a new instance of TrivialInvestigator */ public TrivialInvestigator() { } public boolean setDate(String dString) { dateString = dString; return true; } //end setDate public String dateInformation() { String result; result = "this: " + dateString + " is all I know"; for (int linenum = 0; linenum < 50; linenum++) { result = result + "\n" + "this is line " + linenum + " let's test the scrolling " + ",,,,,,,,,,,,,,,,,,,,,,,............,,,,,,,,,,,,,,<<<<<<<<" +"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"; } return result; } //end dateInformation public String getAuthor() { return "Martin"; } public String getDescription() { return "Trivial Investigator"; } } //end TrivialInvestigator