CS 1705 Library
A B C D E F G H I J L M N O P Q R S T U V W

A

accessCountsForDay(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified day of the week.
accessCountsForDayHour(int, int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses for the specified time period.
accessCountsForHour(int) - Method in interface cs1705.weblog.LogAnalyzer
Retrieve a count of web accesses during the specified hour of the day.
accessTime() - Method in class cs1705.weblog.LogEntry
Get the access time for the HTTP request contained in this log line.
accumulateLogData(Scanner) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given stream to the current access pattern data.
accumulateLogDataFromFile(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given file to the current access pattern data.
accumulateLogDataFromURL(String) - Method in interface cs1705.weblog.LogAnalyzer
Add all log entries from a given URL to the current access pattern data.
actionClick(Location) - Method in class objectdraw.VTControllerTester
Simulates a click on loc.
actionMouseMove(Location) - Method in class objectdraw.VTControllerTester
Simulates the mouse moving towards loc.
actionMousePress(Location) - Method in class objectdraw.VTControllerTester
Simulates a mouse press on the app.
actionMouseRelease() - Method in class objectdraw.VTControllerTester
Simulates the mouse being released.
actualMatchesFormal(Class<?>, Class<?>) - Static method in class net.sf.webcat.ReflectionSupport
Determine whether an actual argument type matches a formal argument type.
add(StringNormalizer.StandardRule) - Method in class net.sf.webcat.StringNormalizer
Add the specified standard rule, as defined in StringNormalizer.StandardRule.
add(StringNormalizer.NormalizerRule) - Method in class net.sf.webcat.StringNormalizer
Add the specified rule.
addColumn(String) - Method in class cs1705.CSVDataTable
 
addColumn(String, String) - Method in class cs1705.CSVDataTable
 
addColumn(String) - Method in interface cs1705.DataTable
This method adds a column to the table.
addColumn(String, String) - Method in interface cs1705.DataTable
This method adds a column to the table, setting this column to the specified default value in every row.
addCommand(String, Command) - Method in class cs1705.adventure.CommandWords
Add (or replace) a command word.
addEntry(RssEntry) - Method in class cs1705.web.RssFeed
Add a new entry to this feed.
addRow(DataTable.Row) - Method in class cs1705.CSVDataTable
 
addRow(DataTable.Row) - Method in interface cs1705.DataTable
This method adds a row to the table.
addStandardRules() - Method in class net.sf.webcat.StringNormalizer
Add the standard set of rules.
addXpathNamespace(String, String) - Method in class cs1705.web.TurboWebBot
Bind a symbolic name to an XML namespace URL so that the symbolic name can be used as a namespace prefix on identifiers in XPATH expressions.
advanceToNextElement() - Method in class cs1705.web.TurboWebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML element of interest it can find.
advanceToNextElement(String) - Method in class cs1705.web.TurboWebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML element of the specified type that it can find.
advanceToNextHeading() - Method in class cs1705.web.OldWebBot
Deprecated. Advance the robot forward in the current document until it is looking at (or standing on) the next HTML heading element it can find.
advanceToNextHeading() - Method in class cs1705.web.WebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML heading element it can find.
advanceToNextLink() - Method in class cs1705.web.OldWebBot
Deprecated. Advance the robot forward in the current document until it is looking at (or standing on) the next HTML anchor containing an href attribute that it can find.
advanceToNextLink() - Method in class cs1705.web.WebBot
Advance the robot forward in the current document until it is looking at (or standing on) the next HTML anchor containing an href attribute that it can find.
afterCompose() - Method in class cs1705.web.RobotViewer
Creates the robot and/or task if necessary, starts it running, and creates the output widgets.
append(CharSequence, int, int) - Method in class net.sf.webcat.PrintStreamWithHistory
Appends a subsequence of the specified character sequence to this output stream.
assertCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
Asserts there are no visible shape objects on the canvas.
assertColor(double, double, Color) - Method in class objectdraw.StudentTestableWindowController
assertColor asserts that the shape being evaluated has the desired color.
assertColor(DrawableInterface, Color) - Method in class objectdraw.StudentTestableWindowController
assertColor asserts that the shape being evaluated has the desired color.
assertCorrectArcAngle(FramedArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectArcAngle(FilledArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectArcHeight(FramedRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectArcHeight(FilledRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectArcWidth(FramedRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectArcWidth(FilledRoundedRect, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectFilledArcAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectFilledArcStartAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectFilledRoundedRectArcHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectFilledRoundedRectArcWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectFont(double, double, Font) - Method in class objectdraw.StudentTestableWindowController
assertCorrectFont asserts that the textbox being evaluated is displaying the correct font.
assertCorrectFont(Text, Font) - Method in class objectdraw.StudentTestableWindowController
assertCorrectFont asserts that the textbox being evaluated is displaying the correct font.
assertCorrectFramedArcAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcAngle asserts that the shape being evaluated spans the correct angle.
assertCorrectFramedArcStartAngle(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the frame arc being evaluated has the correct starting angle.
assertCorrectFramedRoundedRectArcHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcHeight asserts that the shape being evaluated has a correct corner arc height.
assertCorrectFramedRoundedRectArcWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectArcWidth asserts that the shape being evaluated has a correct corner arc width.
assertCorrectImage(double, double, Image) - Method in class objectdraw.StudentTestableWindowController
assertCorrectImage asserts that the VisibleImage displayed is the correct image.
assertCorrectImage(VisibleImage, Image) - Method in class objectdraw.StudentTestableWindowController
assertCorrectImage asserts that the VisibleImage displayed is the correct image.
assertCorrectStartAngle(FramedArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectStartAngle(FilledArc, double) - Method in class objectdraw.StudentTestableWindowController
assertCorrectStartAngle asserts that the shape being evaluated has the correct starting angle.
assertCorrectText(double, double, String) - Method in class objectdraw.StudentTestableWindowController
assertCorrectText asserts that the textbox being evaluated is displaying the correct text.
assertCorrectText(Text, String) - Method in class objectdraw.StudentTestableWindowController
assertCorrectText asserts that the textbox being evaluated is displaying the correct text.
assertExistAngLine(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistAngLine asserts that there exists an angle line at the given starting location.
assertExistFilledArc(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledArc asserts that there exists a filled arc at the specified (x, y) position
assertExistFilledOval(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledOval asserts that there exists a filled oval at the specified (x, y) position
assertExistFilledRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledRect asserts that there exists a filled rectangle at the specified (x, y) position
assertExistFilledRoundedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFilledRoundedRect asserts that there exists a filled, rounded rectangle at the specified (x, y) position
assertExistFramedArc(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedArc asserts that there exists a framed arc at the specified (x, y) position
assertExistFramedOval(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedOval asserts that there exists a framed oval at the specified (x, y) position
assertExistFramedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedRect asserts that there exists a framed rectangle at the specified (x, y) position
assertExistFramedRoundedRect(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistFramedRect asserts that there exists a framed, rounded rectangle at the specified (x, y) position
assertExistLine(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistLine asserts that there exists a line starting at the specified (x, y) position
assertExistLine(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistLine asserts that there exists a line connection the start and end points.
assertExistText(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistText asserts that there exists a textbox at the specified (x, y) position
assertExistVisibleImage(double, double) - Method in class objectdraw.StudentTestableWindowController
assertExistVisibleImage asserts that there exists a VisibleImage at the specified (x, y) position
assertFalse(String, boolean) - Static method in class cs1705.TestCase
Asserts that a condition is false.
assertFalse(boolean) - Static method in class cs1705.TestCase
Asserts that a condition is false.
assertFalse(String, boolean) - Static method in class net.sf.webcat.TestCase
Asserts that a condition is false.
assertFalse(boolean) - Static method in class net.sf.webcat.TestCase
Asserts that a condition is false.
assertFuzzyEquals(String, String) - Method in class cs1705.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertFuzzyEquals(String, String, String) - Method in class cs1705.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertFuzzyEquals(String, String) - Method in class net.sf.webcat.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertFuzzyEquals(String, String, String) - Method in class net.sf.webcat.TestCase
Asserts that two Strings are equal, respecting preferences for what differences matter.
assertHas2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
assert version of has2DObject
assertHas2DObject(String, Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
assert version of has2DObject that has a specific hint to the user.
assertHasLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertHasLine asserts the existence of a line with the specified parameters.
assertHasLine(String, Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertHasLine asserts the existence of a line with the specified parameters.
assertHeight(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertHeight asserts that the shape being evaluated is a desired height.
assertHeight(Drawable2DInterface, double) - Method in class objectdraw.StudentTestableWindowController
assertHeight asserts that the shape being evaluated is a desired height.
assertInvisible(double, double) - Method in class objectdraw.StudentTestableWindowController
assertInvisible asserts that the shape being evaluated is invisible to the canvas.
assertInvisible(DrawableInterface) - Method in class objectdraw.StudentTestableWindowController
assertInvisible asserts that the shape being evaluated is invisible to the canvas.
assertIsAnEndpoint(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertIsAnEndpoint asserts that a line being tested has an endpoint at the given position.
assertIsAnEndpoint(Line, double, double) - Method in class objectdraw.StudentTestableWindowController
assertIsAnEndpoint asserts that a line being tested has an endpoint at the given position.
assertLocationInShape(double, double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertLocationInShape asserts that the shape being evaluated includes the specified (x,y) coordinate.
assertLocationInShape(Drawable2DInterface, double, double) - Method in class objectdraw.StudentTestableWindowController
assertLocationInShape asserts that the shape being evaluated includes the specified (x,y) coordinate.
assertNo2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
inverse of assertHas2DObject, this method will fail if an object specified by the parameters is found, suceed otherwise.
assertNo2DObject(String, Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
inverse of assertHas2DObject, this method will fail if an object specified by the parameters is found, suceed otherwise.
assertNoLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertNoLine asserts the non-existence of a line with the specified parameters.
assertNoLine(String, Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
assertNoLine iasserts the non-existence of a line with the specified parameters.
assertNotCanvasEmpty() - Method in class objectdraw.StudentTestableWindowController
Asserts there is at least one visible element on the canvas.
assertNotOnServer() - Static method in class net.sf.webcat.SystemIOUtilities
Checks to see if the calling program is running under the Apache Tomcat servlet container.
assertTrue(String, boolean) - Static method in class cs1705.TestCase
Asserts that a condition is true.
assertTrue(boolean) - Static method in class cs1705.TestCase
Asserts that a condition is true.
assertTrue(String, boolean) - Static method in class net.sf.webcat.TestCase
Asserts that a condition is true.
assertTrue(boolean) - Static method in class net.sf.webcat.TestCase
Asserts that a condition is true.
assertVisible(double, double) - Method in class objectdraw.StudentTestableWindowController
assertVisible asserts that the shape being evaluated is visible
assertVisible(DrawableInterface) - Method in class objectdraw.StudentTestableWindowController
assertVisible asserts that the shape being evaluated is visible
assertWidth(double, double, double) - Method in class objectdraw.StudentTestableWindowController
assertWidth asserts that the shape being evaluated is a desired width.
assertWidth(Drawable2DInterface, double) - Method in class objectdraw.StudentTestableWindowController
assertWidth asserts that the shape being evaluated is a desired width.
avg(String) - Method in class cs1705.CSVDataTable
 
avg(String) - Method in interface cs1705.DataTable
This method computes the average of a column that has numeric values.

B

Browser - Class in cs1705
This class provides a simple interface to your web browser.
browser() - Method in class cs1705.weblog.LogEntry
Get the identification information for the browser making the request.

C

clearHistory() - Method in class net.sf.webcat.PrintStreamWithHistory
Reset this object's history to be empty, just as when the object was first created.
clearHistory() - Method in class net.sf.webcat.PrintWriterWithHistory
Reset this object's history to be empty, just as when the object was first created.
clone() - Method in class cs1705.web.RssEntry
Clone this object.
clone() - Method in class cs1705.web.RssFeed
Clone this object.
colCount() - Method in class cs1705.CSVDataTable
 
colCount() - Method in interface cs1705.DataTable
This method returns the number of columns in the data table.
Command - Class in cs1705.adventure
This class is an abstract superclass for all command classes in the game.
Command() - Constructor for class cs1705.adventure.Command
Create a command object.
CommandWords - Class in cs1705.adventure
This class holds a collection of all command words known to the game.
CommandWords() - Constructor for class cs1705.adventure.CommandWords
Constructor - initialise the command words.
commandWords() - Method in class cs1705.adventure.Parser
Access the set of valid command words.
compact(String, int, int) - Static method in class cs1705.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
compact(String) - Static method in class cs1705.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
compact(String, int, int) - Static method in class net.sf.webcat.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
compact(String) - Static method in class net.sf.webcat.TestCase
Takes a string and, if it is too long, shortens it by replacing the middle with an ellipsis.
contains(String, String) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring.
contains(String, String[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order.
contains(String, String) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring.
contains(String, String[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order.
containsRegex(String, String) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression.
containsRegex(String, Pattern) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression.
containsRegex(String, String[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
containsRegex(String, Pattern[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
containsRegex(String, String) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression.
containsRegex(String, Pattern) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression.
containsRegex(String, String[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
containsRegex(String, Pattern[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as a regular expressions.
copyRowsFrom(DataTable) - Method in class cs1705.CSVDataTable
 
copyRowsFrom(DataTable) - Method in interface cs1705.DataTable
This method copies an existing DataTable's rows into the DataTable.
count(String, String) - Method in class cs1705.CSVDataTable
 
count(String, String) - Method in interface cs1705.DataTable
This method counts the number of rows in the specified column that have the value given by the value parameter.
create(Constructor<?>, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like Constructor.newInstance(Object...), but converts any thrown exceptions into RuntimeExceptions.
create(Class<T>, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
create(String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Dynamically look up and invoke a class constructor for the target class, with appropriate hints if any failures happen along the way.
createBufferedReader(File) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from the given file.
createBufferedReader(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from the file referred to by the given name.
createBufferedReader(URL) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL over the net.
createBufferedReaderForString(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read directly from a given text string.
createBufferedReaderForURL(String) - Static method in class cs1705.IOHelper
Creates an instance of BufferedReader that can be used to read from a URL given as a text string.
createCommands() - Method in class cs1705.adventure.Game
Create all the commands this game knows about.
createConsoleWriter() - Static method in class cs1705.IOHelper
Creates and returns an instance of PrintWriter that can be used to write to the console.
createEx(Constructor<?>, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like ReflectionSupport.create(Constructor, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(Class<T>, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like #create(Class, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createEx(String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like ReflectionSupport.create(String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
createKeyboardReader() - Static method in class cs1705.IOHelper
Creates and returns an instance of BufferedReader that can be used to read from the keyboard.
createKeyboardScanner() - Static method in class cs1705.IOHelper
Creates and returns a Scanner that can be used to read from the keyboard.
createPrintWriter(File, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the given file.
createPrintWriter(String, boolean) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createPrintWriter(String) - Static method in class cs1705.IOHelper
Creates an instance of PrintWriter that can be used to write to the file referred to by the given name.
createRooms() - Method in class cs1705.adventure.Game
Create all the rooms and link their exits together.
createScanner(File) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from the given file.
createScanner(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from the file referred to by the given name.
createScanner(URL) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from a URL over the net.
createScannerForString(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read directly from a given text string.
createScannerForURL(String) - Static method in class cs1705.IOHelper
Creates a Scanner that can be used to read from a URL given as a text string.
cs1705 - package cs1705
This package provides course-specific classes written especially for CS 1705: Introduction to Object-Oriented Development I.
cs1705.adventure - package cs1705.adventure
This package provides all of the course-specific classes based on the "World of Zuul" adventure game example from Chapter 7 of Objects First with Java by Michael Kolling and David Barnes.
cs1705.web - package cs1705.web
 
cs1705.weblog - package cs1705.weblog
This package provides all of the course-specific classes based on the web log analyzer example from Chapter 4 of Objects First with Java by Michael Kolling and David Barnes.
CSVDataTable - Class in cs1705
CSVDataTable is an implementation of DataTable that allows the user to interact with CSV Files.
CSVDataTable() - Constructor for class cs1705.CSVDataTable
This constructor creates an empty DataTable with no columns.
CSVDataTable(String) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(String, boolean) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(String, boolean, char) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(File) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data from a file.
CSVDataTable(File, boolean) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data from a file.
CSVDataTable(File, boolean, char) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data on a website.
CSVDataTable(InputStream, boolean, char) - Constructor for class cs1705.CSVDataTable
Create a new data table using CSV data from an input stream.

D

DataTable - Interface in cs1705
A database table or spreadsheet-like abstraction that consists of rows, each of which has an unordered collection of columns.
DataTable.HashedRow - Class in cs1705
This is a default concrete implementation of the Row interface.
DataTable.HashedRow() - Constructor for class cs1705.DataTable.HashedRow
 
DataTable.Row - Interface in cs1705
This interface defines the model used for each row in the table.

E

echoCurrentElementText() - Method in class cs1705.web.OldWebBot
Deprecated. Echo the text of the current HTML element (heading, link, etc.) to the robot's default output channel.
echoCurrentElementText() - Method in class cs1705.web.WebBot
Echo the text of the current HTML element (heading, link, etc.) to the robot's default output channel.
echoPageTitle() - Method in class cs1705.web.OldWebBot
Deprecated. Echo the current web page title to the robot's default output channel.
echoPageTitle() - Method in class cs1705.web.WebBot
Echo the current web page title to the robot's default output channel.
equals(String, String) - Method in class cs1705.TestCase
Determines whether two Strings are equal.
equals(String, String) - Method in class net.sf.webcat.TestCase
Determines whether two Strings are equal.
equalsRegex(String, String) - Method in class cs1705.TestCase
Determines whether a String exactly matches an expected regular expression.
equalsRegex(String, Pattern) - Method in class cs1705.TestCase
Determines whether a String exactly matches an expected regular expression.
equalsRegex(String, String) - Method in class net.sf.webcat.TestCase
Determines whether a String exactly matches an expected regular expression.
equalsRegex(String, Pattern) - Method in class net.sf.webcat.TestCase
Determines whether a String exactly matches an expected regular expression.
err() - Static method in class net.sf.webcat.SystemIOUtilities
Get a "wrapped" version of System.err that provides history recording functions.
execute(Player) - Method in class cs1705.adventure.Command
Execute this command.
execute(Player) - Method in class cs1705.adventure.GoCommand
Try to go to one direction.
execute(Player) - Method in class cs1705.adventure.HelpCommand
Print out some help information.
execute(Player) - Method in class cs1705.adventure.QuitCommand
"Quit" was entered.

F

fuzzyContains(String, String) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring, respecting preferences for what differences matter.
fuzzyContains(String, String[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order, respecting preferences for what differences matter.
fuzzyContains(String, String) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring, respecting preferences for what differences matter.
fuzzyContains(String, String[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order, respecting preferences for what differences matter.
fuzzyContainsRegex(String, String) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, Pattern) - Method in class cs1705.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, String[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, Pattern[]) - Method in class cs1705.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, String) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, Pattern) - Method in class net.sf.webcat.TestCase
Determine whether one String contains another as a substring, where the expected substring is specified as a regular expression, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, String[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyContainsRegex(String, Pattern[]) - Method in class net.sf.webcat.TestCase
Determine whether one String contains a sequence of other substrings in order, where the expected substrings are specified as regular expressions, and respecting preferences for what differences matter.
fuzzyEquals(String, String) - Method in class cs1705.TestCase
Determines whether two Strings are equal, respecting preferences for what differences matter.
fuzzyEquals(String, String) - Method in class net.sf.webcat.TestCase
Determines whether two Strings are equal, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, String) - Method in class cs1705.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, Pattern) - Method in class cs1705.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, String) - Method in class net.sf.webcat.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.
fuzzyEqualsRegex(String, Pattern) - Method in class net.sf.webcat.TestCase
Determines whether a String exactly matches an expected regular expression, respecting preferences for what differences matter.

G

Game - Class in cs1705.adventure
This class is the main class for a "World of Zuul"-style adventure game application.
Game() - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
Game(Player, Parser) - Constructor for class cs1705.adventure.Game
Create the game and initialise its internal map.
get(String) - Method in class cs1705.adventure.CommandWords
Given a command word, find and return the matching command object.
get2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
get2dObject returns an arbitrary shape that meets the specified parameters.
get2DObjects(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
get2dObject gets a list of 2D object with the specified parameters.
getAllElementsMatchingXpath(String) - Method in class cs1705.web.TurboWebBot
Find nodes within the current document using an XPATH expression.
getAllMatchingElements(String) - Method in class cs1705.web.TurboWebBot
Get all HTML elements of the specified type on this web page.
getAllMatchingElements(String, String...) - Method in class cs1705.web.TurboWebBot
Get all HTML elements of the specified type on this web page, based on the context where the elements appear.
getAllRows() - Method in class cs1705.CSVDataTable
 
getAllRows() - Method in interface cs1705.DataTable
This method returns a representation of the Data Table.
getAttributes() - Method in interface cs1705.web.HtmlElement
Get an Iterable that will allow you to cycle through the complete set of attributes on this element.
getAttributeValue(String) - Method in interface cs1705.web.HtmlElement
Look up an attribute's value on this element.
getAuthor() - Method in interface cs1705.web.RssEntity
Get this entity's author.
getAuthor() - Method in class cs1705.web.RssEntry
Get this entry's author.
getAuthor() - Method in class cs1705.web.RssFeed
Get this feed's author.
getAuthors() - Method in interface cs1705.web.RssEntity
Get this entity's authors.
getAuthors() - Method in class cs1705.web.RssEntry
Get this entry's authors.
getAuthors() - Method in class cs1705.web.RssFeed
Get this feed's authors.
getCanvas() - Method in class objectdraw.TestableWindowController
Accessor function to get the DrawingCanvas from the frame.
getCell(int, String) - Method in class cs1705.CSVDataTable
 
getCell(int, int) - Method in class cs1705.CSVDataTable
 
getCell(String, String) - Method in class cs1705.CSVDataTable
 
getCell(String, int) - Method in class cs1705.CSVDataTable
 
getCell(int, String) - Method in interface cs1705.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(int, int) - Method in interface cs1705.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(String, String) - Method in interface cs1705.DataTable
This method returns the String value in the table at a specified row/column location.
getCell(String, int) - Method in interface cs1705.DataTable
This method returns the String value in the table at a specified row/column location.
getClasses() - Method in class cs1705.web.Import
Accessor for the "classes" property.
getClassForName(String) - Static method in class net.sf.webcat.ReflectionSupport
Dynamically look up a class by name, with appropriate hints if the class cannot be found.
getColumnNames() - Method in class cs1705.CSVDataTable
 
getColumnNames() - Method in interface cs1705.DataTable
This method returns a list of the names of all of the columns of the data table.
getCommand() - Method in class cs1705.adventure.Parser
Get the next command from the input sequence.
getCurrentElement() - Method in class cs1705.web.WebBot
Get the HTML element of interest that the robot is currently standing on.
getCurrentElementText() - Method in class cs1705.web.OldWebBot
Deprecated. Get the text of the current HTML element on this web page--i.e., the title of a heading or the text associated with a link.
getCurrentElementText() - Method in class cs1705.web.WebBot
Get the text of the current HTML element on this web page--i.e., the title of a heading or the text associated with a link.
getCurrentRoom() - Method in class cs1705.adventure.Player
Return the current room for this player.
getCurrentWorkingDirectory() - Static method in class cs1705.IOHelper
Returns current working directory.
getDate() - Method in interface cs1705.web.RssEntity
Get this entity's publication date.
getDate() - Method in class cs1705.web.RssEntry
Get this entry's publication date.
getDate() - Method in class cs1705.web.RssFeed
Get this feed's publication date.
getDelimiter() - Method in class cs1705.CSVDataTable
Get the delimiter used by this data set.
getDescription() - Method in interface cs1705.web.RssEntity
Get this entity's description.
getDescription() - Method in class cs1705.web.RssEntry
Get this entry's description.
getDescription() - Method in class cs1705.web.RssFeed
Get this feed's description.
getDescriptionType() - Method in class cs1705.web.RssEntry
Get the MIME type of the description (like "text/html" or "text/plain").
getDoubleCell(int, String) - Method in class cs1705.CSVDataTable
 
getDoubleCell(int, int) - Method in class cs1705.CSVDataTable
 
getDoubleCell(String, String) - Method in class cs1705.CSVDataTable
 
getDoubleCell(String, int) - Method in class cs1705.CSVDataTable
 
getDoubleCell(int, String) - Method in interface cs1705.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(int, int) - Method in interface cs1705.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(String, String) - Method in interface cs1705.DataTable
This method returns the double value in the table at a specified row/column location.
getDoubleCell(String, int) - Method in interface cs1705.DataTable
This method returns the double value in the table at a specified row/column location.
getElementById(String) - Method in class cs1705.web.TurboWebBot
Get the first HTML element with the specified id on this web page, using the HTML id="..." attribute on the element.
getElementsByCssClass(String) - Method in class cs1705.web.TurboWebBot
Get all the HTML elements with the specified CSS class on this web page, using the HTML class="..." attribute on the elements.
getEntries() - Method in class cs1705.web.RssFeed
Get this feed's entries.
getExit(String) - Method in class cs1705.adventure.Room
Return the room that is reached if we go from this room in direction "direction".
getFile(String) - Static method in class cs1705.IOHelper
Creates a new File instance from a relative or an absolute pathname.
getFile(File) - Static method in class cs1705.IOHelper
Takes an existing file and, if it contains a relative path name, it is resolved against the current working directory.
getFirstMatchingElement(String) - Method in class cs1705.web.TurboWebBot
Get the first HTML element of the specified type on this web page.
getFirstMatchingElement(String, String...) - Method in class cs1705.web.TurboWebBot
Get the first HTML element of the specified type on this web page, based on the context where the element appears.
getFrame() - Method in class objectdraw.TestableWindowController
Get the top-level JFrame component.
getHeadingLevel() - Method in interface cs1705.web.HtmlHeadingElement
Get the heading level (1-6) of this element.
getHeadingLevel() - Method in class cs1705.web.OldWebBot
Deprecated. Get the heading level (1-6) of the current heading on this web page.
getHeadingLevel() - Method in class cs1705.web.WebBot
Get the heading level (1-6) of the current heading on this web page.
getHeadings() - Method in class cs1705.web.OldWebBot
Deprecated. Get an iterator over all headings in the current document.
getHeadings() - Method in class cs1705.web.WebBot
Get an iterator over all headings in the current document.
getHeadingsToLevel(int) - Method in class cs1705.web.OldWebBot
Deprecated. Get an iterator over all headings in the current document with a level less than or equal to the value specified.
getHeadingsToLevel(int) - Method in class cs1705.web.WebBot
Get an iterator over all headings in the current document with a level less than or equal to the value specified.
getHistory() - Method in class net.sf.webcat.PrintStreamWithHistory
Retrieve the text history of what has been sent to this PrintStream.
getHistory() - Method in class net.sf.webcat.PrintWriterWithHistory
Retrieve the text history of what has been sent to this PrintWriter.
getHistoryBuffer() - Method in class net.sf.webcat.PrintStreamWithHistory
Retrieve the StringBuffer object used to store this object's text history.
getHistoryBuffer() - Method in class net.sf.webcat.PrintWriterWithHistory
Retrieve the StringBuffer object used to store this object's text history.
getIconLink() - Method in class cs1705.web.RssFeed
Get the link for the site icon belonging to this feed's home site.
getImageLink() - Method in class cs1705.web.RssFeed
Get the link for this feed's image as a URL.
getIntCell(int, String) - Method in class cs1705.CSVDataTable
 
getIntCell(int, int) - Method in class cs1705.CSVDataTable
 
getIntCell(String, String) - Method in class cs1705.CSVDataTable
 
getIntCell(String, int) - Method in class cs1705.CSVDataTable
 
getIntCell(int, String) - Method in interface cs1705.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(int, int) - Method in interface cs1705.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(String, String) - Method in interface cs1705.DataTable
This method returns the int value in the table at a specified row/column location.
getIntCell(String, int) - Method in interface cs1705.DataTable
This method returns the int value in the table at a specified row/column location.
getInteractive() - Method in class cs1705.web.RobotViewer
Accessor for the interactive property.
getIsHtml() - Method in class cs1705.web.PrintExpression
Accessor for the "isHtml" property.
getLevel() - Method in class cs1705.web.OldWebBot.HeadingDescriptor
Deprecated. Get this heading's level (1-6).
getLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
getLine returns an arbitrary Line object that fits the parameters that are passed to the function.
getLines(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
getLines gets a list of lines with the specified parameters.
getLink() - Method in interface cs1705.web.RssEntity
Get this entity's link as a URL.
getLink() - Method in class cs1705.web.RssEntry
Get this entry's link as a URL.
getLink() - Method in class cs1705.web.RssFeed
Get the link (as a URL) where this feed is officially published.
getLinks() - Method in class cs1705.web.OldWebBot
Deprecated. Get an iterator over all links in the current document.
getLinks() - Method in class cs1705.web.WebBot
Get an iterator over all links in the current document.
getLinksOffServer() - Method in class cs1705.web.OldWebBot
Deprecated. Get an iterator over all links in the current document that refer to pages on other servers.
getLinksOffServer() - Method in class cs1705.web.WebBot
Get an iterator over all links in the current document that refer to pages on other servers.
getLinksToOtherPages() - Method in class cs1705.web.OldWebBot
Deprecated. Get an iterator over all links in the current document that refer to other web pages.
getLinksToOtherPages() - Method in class cs1705.web.WebBot
Get an iterator over all links in the current document that refer to other web pages.
getLinkURI() - Method in class cs1705.web.OldWebBot
Deprecated. Get the URI of the current link on this web page.
getLinkURI() - Method in class cs1705.web.WebBot
Get the URI of the current link on this web page.
getLoadedFromLink() - Method in class cs1705.web.RssFeed
Get the link as a URL where this feed was loaded from.
getLongDescription() - Method in class cs1705.adventure.Room
Return a long description of this room, including a list of available exits.
getMatchingConstructor(Class<?>, Class<?>...) - Static method in class net.sf.webcat.ReflectionSupport
Look up a constructor by parameter profile, finding the constructor that will accept the given list of parameters (not requiring an exact match on parameter types).
getMatchingMethod(Class<?>, String, Class<?>...) - Static method in class net.sf.webcat.ReflectionSupport
Look up a method by name and parameter profile, finding the method that will accept the given list of parameters (not requiring an exact match on parameter types).
getMethod(Class<?>, String, Class<?>...) - Static method in class net.sf.webcat.ReflectionSupport
Look up a method by name and parameter profile, turning any errors into test case failures with appropriate hint messages.
getName() - Method in class cs1705.web.Variable
Accessor for the "name" property.
getOutputChannel() - Method in class cs1705.web.OldWebBot
Deprecated. Get the output channel where this bot is sending its output.
getOutputChannel() - Method in class cs1705.web.WebBot
Get the output channel where this bot is sending its output.
getPageContent() - Method in class cs1705.web.OldWebBot
Deprecated. Get the current web page's entire content as a string.
getPageContent() - Method in class cs1705.web.TurboWebBot
Get the current web page's entire content as a string.
getPagePhraseCount() - Method in class cs1705.web.OldWebBot
Deprecated. Get a count of the number of times the set phrase of interest occurs in the current page.
getPagePhraseCount() - Method in class cs1705.web.TurboWebBot
Get a count of the number of times the set phrase of interest occurs in the current page.
getPagePhraseFrequency() - Method in class cs1705.web.OldWebBot
Deprecated. Get the frequency of the phrase of interest in the current page.
getPagePhraseFrequency() - Method in class cs1705.web.TurboWebBot
Get the frequency of the phrase of interest in the current page.
getPageTitle() - Method in class cs1705.web.OldWebBot
Deprecated. Get the title the current web page.
getPageTitle() - Method in class cs1705.web.WebBot
Get the title the current web page.
getPageURL() - Method in class cs1705.web.OldWebBot
Deprecated. Get the URL for the current web page.
getPageURL() - Method in class cs1705.web.WebBot
Get the URL for the current web page.
getPrimaryKey() - Method in class cs1705.CSVDataTable
 
getPrimaryKey() - Method in interface cs1705.DataTable
This method returns the column name that acts as the primary key for the table.
getRobot() - Method in interface cs1705.web.RobotTask
This method provides access to the robot that carries out this task.
getRobot() - Method in class cs1705.web.RobotViewer
Accessor for the robot property.
getRobotClass() - Method in class cs1705.web.RobotViewer
Accessor for the robotClass property.
getRobotUrl() - Method in class cs1705.web.RobotViewer
Accessor for the robotUrl property.
getRow(int) - Method in class cs1705.CSVDataTable
 
getRow(String) - Method in class cs1705.CSVDataTable
 
getRow(int) - Method in interface cs1705.DataTable
This method returns a map that represents the desired row (indicated by the primary key).
getRow(String) - Method in interface cs1705.DataTable
This method returns a Map that represents the desired row.
getSecondWord() - Method in class cs1705.adventure.Command
Return the second word of this command.
getShortDescription() - Method in class cs1705.adventure.Room
Return the description of the room (the one that was defined in the constructor).
getTask() - Method in class cs1705.web.RobotViewer
Accessor for the task property.
getTaskClass() - Method in class cs1705.web.RobotViewer
Accessor for the taskClass property.
getText() - Method in interface cs1705.web.HtmlElement
Get the text contained by this element.
getText() - Method in class cs1705.web.OldWebBot.HeadingDescriptor
Deprecated. Get this heading's text (title).
getTitle() - Method in interface cs1705.web.RssEntity
Get this entity's title.
getTitle() - Method in class cs1705.web.RssEntry
Get this entry's title.
getTitle() - Method in class cs1705.web.RssFeed
Get this feed's title.
getType() - Method in interface cs1705.web.HtmlElement
Get the "type" of this element--that is, the HTML name of the tag, such as "a", "h1", "img", etc.
getType() - Method in class cs1705.web.PrintExpression
Accessor for the "type" property, which may be null if no type has been specified.
getType() - Method in class cs1705.web.Variable
Accessor for the "type" property, which may be null if no type has been specified.
getUrl() - Method in class cs1705.CSVDataTable
 
getWindowFocus() - Method in class objectdraw.VTWindowControllerListener
 
GoCommand - Class in cs1705.adventure
Implementation of the 'go' user command for adventure games.
GoCommand() - Constructor for class cs1705.adventure.GoCommand
Constructor for objects of class GoCommand

H

has2DObject(Class, Location, Double, Double, Color, Boolean) - Method in class objectdraw.TestableWindowController
has2dObject determines existence of a 2D object with the specified parameters.
hasAttribute(String) - Method in interface cs1705.web.HtmlElement
Check to see if this element has a specific attribute.
hasLine(Location, Location, Color, Boolean) - Method in class objectdraw.TestableWindowController
hasLine returns determines the existence of a line with the specified parameters.
hasMoreEntries() - Method in class cs1705.weblog.LogReader
Does the reader have more data to supply?
hasMoreEntries() - Method in class cs1705.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
hasNext() - Method in class cs1705.weblog.LogScanner
Does the scanner have more data to supply?
hasNextElement() - Method in class cs1705.web.TurboWebBot
Determine whether there are any more HTML elements of interest further down the page from the robot's current position.
hasNextElement(String) - Method in class cs1705.web.TurboWebBot
Determine whether there are any more HTML elements of the specified type further down the page from the robot's current position.
hasPreviousPage() - Method in class cs1705.web.OldWebBot
Deprecated. Check to see if this bot previously visited a different page that it can now return to.
hasPreviousPage() - Method in class cs1705.web.WebBot
Check to see if this bot previously visited a different page that it can now return to.
hasSecondWord() - Method in class cs1705.adventure.Command
Check whether a second word was entered for this command.
hasVisitedPage(URI) - Method in class cs1705.web.OldWebBot
Deprecated. Check whether this robot has visited this page before.
hasVisitedPage(URL) - Method in class cs1705.web.OldWebBot
Deprecated. Check whether this robot has visited this page before.
hasVisitedPage(File) - Method in class cs1705.web.OldWebBot
Deprecated. Check whether this robot has visited this page before.
hasVisitedPage(File) - Method in class cs1705.web.TurboWebBot
Check whether this robot has visited this page before.
hasVisitedPage(URI) - Method in class cs1705.web.WebBot
Check whether this robot has visited this page before.
hasVisitedPage(URL) - Method in class cs1705.web.WebBot
Check whether this robot has visited this page before.
HelpCommand - Class in cs1705.adventure
Implementation of the 'help' user command for adventure games.
HelpCommand(CommandWords) - Constructor for class cs1705.adventure.HelpCommand
Constructor for objects of class HelpCommand
HtmlElement - Interface in cs1705.web
This interface represents an instance of some HTML element (or "tag"), usually obtained by reading from a web page using a WebBot.
HtmlHeadingElement - Interface in cs1705.web
This interface represents a specialized HtmlElement that represents an HTML heading tag--e.g., H1, H2, H3, H4, H5, or H6.

I

Import - Class in cs1705.web
A ZUL import statement for Java classes.
Import() - Constructor for class cs1705.web.Import
Creates a new Import component.
in() - Method in class cs1705.TestCase
Get an input stream containing the contents that you specify.
in() - Method in class net.sf.webcat.TestCase
Get an input stream containing the contents that you specify.
insertBefore(Component, Component) - Method in class cs1705.web.Window
Inserts a child before the reference child.
invoke(Object, Class<T>, String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Dynamically look up and invoke a method on a target object, with appropriate hints if any failures happen along the way.
invoke(Object, Method, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like Method.invoke(Object, Object...), but converts any thrown exceptions into RuntimeExceptions.
invokeEx(Object, Class<T>, String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like #invoke(Object, Class, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, String, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like ReflectionSupport.invoke(Object, String, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
invokeEx(Object, Method, Object...) - Static method in class net.sf.webcat.ReflectionSupport
Just like Method.invoke(Object, Object...), but unwraps any InvocationTargetExceptions and throws the true cause.
IOHelper - Class in cs1705
This class provides several static methods that streamline the use of basic I/O operations in Java.
isLocked() - Method in class objectdraw.VTWindowControllerListener
 
isLookingAtElement() - Method in class cs1705.web.TurboWebBot
Is the robot looking at (or standing on) an HTML element of interest on the current page? Elements of interest can be controlled by calling TurboWebBot.resetElementsOfInterest(String...) (the default is all links and all heading tags).
isLookingAtElement(String) - Method in class cs1705.web.TurboWebBot
Is the robot looking at (or standing on) an HTML element of the specified type on the current page? The specified element type must be one of the elements of interest, as specified by calling TurboWebBot.resetElementsOfInterest(String...) (the default is all links and all heading tags).
isLookingAtEndOfPage() - Method in class cs1705.web.OldWebBot
Deprecated. Has the robot advanced through all the contents (headings and links) on the current page? Will also return true if OldWebBot.isViewingWebPage() returns false.
isLookingAtEndOfPage() - Method in class cs1705.web.WebBot
Has the robot advanced through all the contents (headings and links) on the current page? Will also return true if WebBot.isViewingWebPage() returns false.
isLookingAtHeading() - Method in class cs1705.web.OldWebBot
Deprecated. Is the robot looking at (or standing on) an HTML heading element on the current page?
isLookingAtHeading() - Method in class cs1705.web.WebBot
Is the robot looking at (or standing on) an HTML heading element on the current page?
isLookingAtLink() - Method in class cs1705.web.OldWebBot
Deprecated. Is the robot looking at (or standing on) an HTML anchor containing an href attribute (that is, a link to another web page) on the current page?
isLookingAtLink() - Method in class cs1705.web.WebBot
Is the robot looking at (or standing on) an HTML anchor containing an href attribute (that is, a link to another web page) on the current page?
isOnServer() - Static method in class net.sf.webcat.SystemIOUtilities
Checks to see if the calling program is running under the Apache Tomcat servlet container.
isViewingWebPage() - Method in class cs1705.web.OldWebBot
Deprecated. Is the robot currently viewing a real web page with readable contents? Normally, this would be true, but may be false if the bot has not been given a web page to start on, or if it has been given a malformed or nonexistent URL address, or even if the server for the targeted page is not available.
isViewingWebPage() - Method in class cs1705.web.WebBot
Is the robot currently viewing a real web page with readable contents? Normally, this would be true, but may be false if the bot has not been given a web page to start on, or if it has been given a malformed or nonexistent URL address, or even if the server for the targeted page is not available.
IterableSequence<T> - Class in cs1705
This class is just an iterator wrapped inside an Iterable so that it can be used in for-each loops.
IterableSequence(Iterator<T>) - Constructor for class cs1705.IterableSequence
Creates a new IterableSequence.
iterator() - Method in class cs1705.IterableSequence
Returns an iterator over a set of elements of type T.
iterator() - Method in class cs1705.weblog.LogScanner
Return this object, unchanged, to provide support for foreach-style loops.

J

jumpToLinkedPage() - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to the page at the end of the current link.
jumpToLinkedPage() - Method in class cs1705.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page at the end of the current link.
jumpToPage(URI) - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToPage(URL) - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToPage(File) - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to the specified file.
jumpToPage(String) - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to the page specified by the URL (as a string).
jumpToPage(File) - Method in class cs1705.web.TurboWebBot
Causes the bot to temporarily leave the current page and hop over to the specified file.
jumpToPage(String) - Method in class cs1705.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL (as a string).
jumpToPage(URL) - Method in class cs1705.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToPage(URI) - Method in class cs1705.web.WebBot
Causes the bot to temporarily leave the current page and hop over to the page specified by the URL.
jumpToThisHTML(String) - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to temporarily leave the current page and hop over to a specific HTML string provided as a parameter.
jumpToThisHTML(String) - Method in class cs1705.web.WebBot
Causes the bot to temporarily leave the current page and hop over to a specific HTML string provided as a parameter.

L

linkGoesToAnotherPage() - Method in class cs1705.web.OldWebBot
Deprecated. Check whether the URL of the current link on this web page refers to a different page, or just another location within the current page.
linkGoesToAnotherPage() - Method in class cs1705.web.WebBot
Check whether the URL of the current link on this web page refers to a different page, or just another location within the current page.
linkGoesToAnotherServer() - Method in class cs1705.web.OldWebBot
Deprecated. Check whether the URL of the current link on this web page refers to a page on a separate server, or simply another location on the same server.
linkGoesToAnotherServer() - Method in class cs1705.web.WebBot
Check whether the URL of the current link on this web page refers to a page on a separate server, or simply another location on the same server.
lockMouseClick() - Method in class objectdraw.VTWindowControllerListener
 
lockMouseMove(Location) - Method in class objectdraw.VTWindowControllerListener
 
lockMousePress() - Method in class objectdraw.VTWindowControllerListener
 
lockMouseRelease() - Method in class objectdraw.VTWindowControllerListener
 
LogAnalyzer - Interface in cs1705.weblog
An interface for a web server log analyzer that processes web log data analyses hourly and weekly access patterns.
LogEntry - Class in cs1705.weblog
Store the data from a single line of a web-server log file.
LogEntry(String) - Constructor for class cs1705.weblog.LogEntry
Decompose a log line so that the individual fields are available.
LogReader - Class in cs1705.weblog
A class to read information from a file of web server accesses.
LogReader(BufferedReader) - Constructor for class cs1705.weblog.LogReader
Create a LogfileReader to supply data from the specified stream.
LogScanner - Class in cs1705.weblog
A class to scan information from a web server access log.
LogScanner(String) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(File) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given file.
LogScanner(Scanner) - Constructor for class cs1705.weblog.LogScanner
Create a LogScanner that reads access log data from the given stream.

M

main(String[]) - Static method in class cs1705.Version
This main method simply prints out the version information on System.out.
main(String[]) - Static method in class cs1705.web.RunRobotTask
This main method takes the name of a RobotTask class as an argument, and it executes the corresponding task.
max(String) - Method in class cs1705.CSVDataTable
 
max(String) - Method in interface cs1705.DataTable
This method computes the maximum value of a column that has numeric values.
message() - Method in class cs1705.adventure.HelpCommand
Get the descriptive message that is presented before the list of commands when this command is executed.
min(String) - Method in class cs1705.CSVDataTable
 
min(String) - Method in interface cs1705.DataTable
This method computes the minimum value of a column that has numeric values.
mouseClicked(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseDragged(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseEntered(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseExited(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseMoved(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mousePressed(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 
mouseReleased(MouseEvent) - Method in class objectdraw.VTWindowControllerListener
 

N

net.sf.webcat - package net.sf.webcat
 
next() - Method in class cs1705.weblog.LogScanner
Analyze the next line from the log file and make it available via a LogEntry object.
nextEntry() - Method in class cs1705.weblog.LogReader
Analyze the next line from the log file and make it available via a LogEntry object.
nextEntry() - Method in class cs1705.weblog.LogScanner
A synonym for LogScanner.hasNext() provided for backward compatibility with the older Java 1.4-style LogReader class.
normalize(String) - Method in class net.sf.webcat.StringNormalizer
Normalize a string by applying a set of normalization rules (transformations).
normalize(String) - Method in interface net.sf.webcat.StringNormalizer.NormalizerRule
Apply this rule by normalizing the given string.
normalize(String) - Method in class net.sf.webcat.StringNormalizer.RegexNormalizerRule
Normalize a string by applying all of this rule's regular expression pattern/replacement pairs, in order.
numberOfPreviousPages() - Method in class cs1705.web.OldWebBot
Deprecated. How deep is the stack of previous pages that this robot can return to? Each time the robot jumps to a new page, it remembers its previous page so you can OldWebBot.returnToPreviousPage().
numberOfPreviousPages() - Method in class cs1705.web.WebBot
How deep is the stack of previous pages that this robot can return to? Each time the robot jumps to a new page, it remembers its previous page so you can WebBot.returnToPreviousPage().

O

objectdraw - package objectdraw
 
OldWebBot - Class in cs1705.web
Deprecated. This class is being replaced by WebBot, which you should use instead.
OldWebBot() - Constructor for class cs1705.web.OldWebBot
Deprecated. Creates a new WebBot that is not yet viewing any web page.
OldWebBot(URI) - Constructor for class cs1705.web.OldWebBot
Deprecated. Creates a new WebBot for a given URI.
OldWebBot(URL) - Constructor for class cs1705.web.OldWebBot
Deprecated. Creates a new WebBot for a given URL.
OldWebBot(String) - Constructor for class cs1705.web.OldWebBot
Deprecated. Creates a new WebBot for a given URL.
OldWebBot(File) - Constructor for class cs1705.web.OldWebBot
Deprecated. Creates a new WebBot for a given file.
OldWebBot.HeadingDescriptor - Class in cs1705.web
Deprecated. Represents the content of an HTML heading entry.
OldWebBot.HeadingDescriptor(int, String) - Constructor for class cs1705.web.OldWebBot.HeadingDescriptor
Deprecated. Creates a new heading descriptor.
openFile(String) - Static method in class cs1705.Browser
Display a file in the system browser.
openFile(File) - Static method in class cs1705.Browser
Display a file in the system browser.
openURL(String) - Static method in class cs1705.Browser
Display a URL in the system browser.
out() - Method in class cs1705.TestCase
Get an output stream suitable for use in test cases.
out() - Method in class cs1705.web.OldWebBot
Deprecated. Get the output channel where this bot is sending its output.
out() - Method in class cs1705.web.WebBot
Get the output channel where this bot is sending its output.
out() - Static method in class net.sf.webcat.SystemIOUtilities
Get a "wrapped" version of System.out that provides history recording functions.
out() - Method in class net.sf.webcat.TestCase
Get an output stream suitable for use in test cases.
outputIsHtml() - Method in class cs1705.web.OldWebBot
Deprecated. Check whether this robot's output should be treated as plain text, or as HTML markup.
outputIsHtml() - Method in class cs1705.web.WebBot
Check whether this robot's output should be treated as plain text, or as HTML markup.

P

paint(Graphics) - Method in class objectdraw.TestableWindowController
Paint gets called by the system whenever the application needs to be repainted.
parser() - Method in class cs1705.adventure.Game
Access this game's parser.
Parser - Class in cs1705.adventure
This parser reads user input and tries to interpret it as an "Adventure" command.
Parser() - Constructor for class cs1705.adventure.Parser
Create a new Parser object connected to System.in.
play() - Method in class cs1705.adventure.Game
Main play routine.
player() - Method in class cs1705.adventure.Game
Access this game's player.
Player - Class in cs1705.adventure
This class represents a player in an adventure game.
Player() - Constructor for class cs1705.adventure.Player
Constructor for objects of class Player
print(boolean) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a boolean value.
print(char) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a character.
print(int) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an integer.
print(long) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a long integer.
print(float) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a floating-point number.
print(double) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a double-precision floating-point number.
print(char[]) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an array of characters.
print(String) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a string.
print(Object) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an object.
PrintExpression - Class in cs1705.web
Evaluate and echo the contents of a Java expression, such as an arbitrary method call.
PrintExpression() - Constructor for class cs1705.web.PrintExpression
Creates a new PrintExpression component.
println() - Method in class net.sf.webcat.PrintStreamWithHistory
Terminate the current line by writing the line separator string.
println(boolean) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a boolean and then terminate the line.
println(char) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a character and then terminate the line.
println(int) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an integer and then terminate the line.
println(long) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a long and then terminate the line.
println(float) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a float and then terminate the line.
println(double) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a double and then terminate the line.
println(char[]) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an array of characters and then terminate the line.
println(String) - Method in class net.sf.webcat.PrintStreamWithHistory
Print a String and then terminate the line.
println(Object) - Method in class net.sf.webcat.PrintStreamWithHistory
Print an Object and then terminate the line.
println() - Method in class net.sf.webcat.PrintWriterWithHistory
Terminate the current line by writing the line separator string.
PrintStreamWithHistory - Class in net.sf.webcat
An enhanced version of PrintStream that provides for a history recall function and some other features making I/O testing a bit easier to perform.
PrintStreamWithHistory(OutputStream) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(OutputStream, boolean) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(OutputStream, boolean, String) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Create a new print stream.
PrintStreamWithHistory(String) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file name.
PrintStreamWithHistory(String, String) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file name and charset.
PrintStreamWithHistory(File) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file.
PrintStreamWithHistory(File, String) - Constructor for class net.sf.webcat.PrintStreamWithHistory
Creates a new print stream, without automatic line flushing, with the specified file and charset.
printVersion() - Static method in class cs1705.Version
Prints out the version information on System.out.
printWelcome() - Method in class cs1705.adventure.Game
Print out the opening message for the player.
PrintWriterWithHistory - Class in net.sf.webcat
An enhanced version of PrintWriter that provides for a history recall function and some other features making I/O testing a bit easier to perform.
PrintWriterWithHistory() - Constructor for class net.sf.webcat.PrintWriterWithHistory
Create a new PrintWriter with no destination--useful when you just want to record the history (for testing, for example).
PrintWriterWithHistory(Writer) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Create a new PrintWriter, without automatic line flushing.
PrintWriterWithHistory(Writer, boolean) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Create a new PrintWriter.
PrintWriterWithHistory(OutputStream) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Create a new PrintWriter, with automatic line flushing, from an existing OutputStream.
PrintWriterWithHistory(OutputStream, boolean) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Create a new PrintWriter from an existing OutputStream.
PrintWriterWithHistory(String) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file name.
PrintWriterWithHistory(String, String) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file name and charset.
PrintWriterWithHistory(File) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file.
PrintWriterWithHistory(File, String) - Constructor for class net.sf.webcat.PrintWriterWithHistory
Creates a new PrintWriter, without automatic line flushing, with the specified file and charset.
promptString() - Method in class cs1705.adventure.Parser
Get the prompt string printed before reading each command.

Q

QuitCommand - Class in cs1705.adventure
Implementation of the 'quit' user command for adventure games.
QuitCommand() - Constructor for class cs1705.adventure.QuitCommand
Constructor for objects of class QuitCommand

R

referrer() - Method in class cs1705.weblog.LogEntry
Get the URL of the "referrer" containing the link used to make the request.
ReflectionSupport - Class in net.sf.webcat
This class provides static helper methods to use reflection to check for and invoke methods on objects.
remapColumnNames(Map<String, String>) - Method in class cs1705.CSVDataTable
 
remapColumnNames(Map<String, String>) - Method in interface cs1705.DataTable
This method replaces each column name in the table with a matching key in columnMap with the value of the mapping.
remove() - Method in class cs1705.weblog.LogScanner
Provided for compliance with the Iterator interface, but this method is not supported.
remove(StringNormalizer.StandardRule) - Method in class net.sf.webcat.StringNormalizer
Remove the specified standard rule, as defined in StringNormalizer.StandardRule.
removeRow(int) - Method in class cs1705.CSVDataTable
 
removeRow(String) - Method in class cs1705.CSVDataTable
 
removeRow(int) - Method in interface cs1705.DataTable
This method removes the row identified by row number.
removeRow(String) - Method in interface cs1705.DataTable
This method removes the row (to be determined by the key).
replaceSystemInContents(String) - Static method in class net.sf.webcat.SystemIOUtilities
Replace System.in with the contents of the given string.
request() - Method in class cs1705.weblog.LogEntry
Get the request method, URL, and protocol for this log line.
resetElementsOfInterest(String...) - Method in class cs1705.web.TurboWebBot
Move the WebBot back to the beginning of the page and reset the set of elements that it can walk over to the given set of elements.
resolveURIFromPage(String) - Method in class cs1705.web.WebBot
Get a fully-resolved URI from a (possibly relative) string URI, such as the value of an anchor's href or an img's src attribute.
restoreSystemErr() - Static method in class net.sf.webcat.SystemIOUtilities
"Unwrap" System.err by removing any history recording wrapper, and return it to its original state.
restoreSystemIn() - Static method in class net.sf.webcat.SystemIOUtilities
Restore System.in to its original value.
restoreSystemOut() - Static method in class net.sf.webcat.SystemIOUtilities
"Unwrap" System.out by removing any history recording wrapper, and return it to its original state.
resultCode() - Method in class cs1705.weblog.LogEntry
Get the result code returned by the server.
returnToPreviousPage() - Method in class cs1705.web.OldWebBot
Deprecated. Causes the bot to leave the current page and return to the page it was previously visiting, at the location where it left off.
returnToPreviousPage() - Method in class cs1705.web.WebBot
Causes the bot to leave the current page and return to the page it was previously visiting, at the location where it left off.
returnToStartOfPage() - Method in class cs1705.web.OldWebBot
Deprecated. Moves the robot back to the start of the current page.
returnToStartOfPage() - Method in class cs1705.web.WebBot
Moves the robot back to the start of the current page.
RobotTask - Interface in cs1705.web
This class defines the common interface for all robot task objects.
RobotViewer - Class in cs1705.web
A component that presents the viewable contents of a robot task on a web page.
RobotViewer() - Constructor for class cs1705.web.RobotViewer
Create a RobotViewer component.
RobotViewer(String, String, boolean) - Constructor for class cs1705.web.RobotViewer
Create a RobotViewer component.
Room - Class in cs1705.adventure
Represents one location in the scenery of an adventure game.
Room(String) - Constructor for class cs1705.adventure.Room
Create a room described "description".
rowCount() - Method in class cs1705.CSVDataTable
 
rowCount() - Method in interface cs1705.DataTable
This method returns the number of rows in the data table.
RssEntity - Interface in cs1705.web
This interface defines the common features of RSS entities like RssEntry objects and RssFeed objects.
RssEntry - Class in cs1705.web
This class represents one entry in a syndication feed, like an RssFeed.
RssEntry() - Constructor for class cs1705.web.RssEntry
Creates a new RssEntry object that is completely blank.
RssEntry(RssEntry) - Constructor for class cs1705.web.RssEntry
Creates a new RssEntry object as a copy of an existing entry.
RssFeed - Class in cs1705.web
This class represents a syndication feed that contains a list of RssEntry objects.
RssFeed() - Constructor for class cs1705.web.RssFeed
Creates a new RssFeed object that is completely empty.
RssFeed(String) - Constructor for class cs1705.web.RssFeed
Creates a new RssFeed object by reading from the given URL.
RssFeed(URL) - Constructor for class cs1705.web.RssFeed
Creates a new RssFeed object by reading from the given URL.
RssFeed(RssFeed) - Constructor for class cs1705.web.RssFeed
Creates a new RssFeed object by copying from an existing one.
run() - Method in class cs1705.web.OldWebBot
Deprecated. Execute this robot's built-in sequence of steps.
run() - Method in class cs1705.web.WebBot
Execute this robot's built-in sequence of steps.
RunRobotTask - Class in cs1705.web
This class represents a main program that takes a command-line argument that names a RobotTask; it creates an instance of the named task and then runs it.
RunRobotTask() - Constructor for class cs1705.web.RunRobotTask
Create a new RunRobotTask object.

S

save(String) - Method in class cs1705.CSVDataTable
This method saves the CSVDataTable in a CSV file format with the first row the column names and the remaining rows the data in the table.
save(String) - Method in interface cs1705.DataTable
This method saves the data table that has been generated/manipulated in the format desired for the implementation of the interface.
setAuthor(String) - Method in interface cs1705.web.RssEntity
Set this entity's author.
setAuthor(String) - Method in class cs1705.web.RssEntry
Set this entry's author.
setAuthor(String) - Method in class cs1705.web.RssFeed
Set this feed's author.
setAuthors(List<String>) - Method in interface cs1705.web.RssEntity
Set this entity's authors.
setAuthors(List<String>) - Method in class cs1705.web.RssEntry
Set this entry's authors.
setAuthors(List<String>) - Method in class cs1705.web.RssFeed
Set this feed's authors.
setBorder(String) - Method in class cs1705.web.Window
Sets the border (either "none" or "normal").
setCell(int, String, String) - Method in class cs1705.CSVDataTable
 
setCell(int, String, int) - Method in class cs1705.CSVDataTable
 
setCell(int, String, double) - Method in class cs1705.CSVDataTable
 
setCell(int, int, String) - Method in class cs1705.CSVDataTable
 
setCell(int, int, int) - Method in class cs1705.CSVDataTable
 
setCell(int, int, double) - Method in class cs1705.CSVDataTable
 
setCell(String, String, String) - Method in class cs1705.CSVDataTable
 
setCell(String, String, int) - Method in class cs1705.CSVDataTable
 
setCell(String, String, double) - Method in class cs1705.CSVDataTable
 
setCell(String, int, String) - Method in class cs1705.CSVDataTable
 
setCell(String, int, int) - Method in class cs1705.CSVDataTable
 
setCell(String, int, double) - Method in class cs1705.CSVDataTable
 
setCell(int, String, String) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(int, String, int) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(int, String, double) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(int, int, String) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(int, int, int) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(int, int, double) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(String, String, String) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(String, String, int) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(String, String, double) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a double.
setCell(String, int, String) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a String.
setCell(String, int, int) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as an int.
setCell(String, int, double) - Method in interface cs1705.DataTable
This method allows you to update a desired row and column with new data as a double.
setClass(String) - Method in class cs1705.web.Import
Mutator for the "class" property.
setClasses(String) - Method in class cs1705.web.Import
Mutator for the "classes" property.
setColumnNames(ArrayList<String>) - Method in class cs1705.CSVDataTable
 
setColumnNames(ArrayList<String>) - Method in interface cs1705.DataTable
This method sets an arbitrary name for each of the columns in the table.
setCurrentRoom(Room) - Method in class cs1705.adventure.Player
Set the current room for this player.
setCurrentWorkingDirectory(File) - Static method in class cs1705.IOHelper
Changes the current working directory (for the purposes of future calls to IOHelper methods).
setDate(Date) - Method in interface cs1705.web.RssEntity
Set this entity's publication date.
setDate(Date) - Method in class cs1705.web.RssEntry
Set this entry's publication date.
setDate(Date) - Method in class cs1705.web.RssFeed
Set this feed's publication date.
setDelimiter(char) - Method in class cs1705.CSVDataTable
Set the delimiter used by this data set, which will affect how this object will be written to a file in the future.
setDescription(String) - Method in interface cs1705.web.RssEntity
Set this entity's description.
setDescription(String) - Method in class cs1705.web.RssEntry
Set this entry's description.
setDescription(String) - Method in class cs1705.web.RssFeed
Set this feed's description.
setDescriptionType(String) - Method in class cs1705.web.RssEntry
Set the MIME type for this entry's description.
setEntries(List<RssEntry>) - Method in class cs1705.web.RssFeed
Set this feed's entries.
setExit(String, Room) - Method in class cs1705.adventure.Room
Define an exit from this room.
setIconLink(URL) - Method in class cs1705.web.RssFeed
Set the link for the site icon belonging to this feed's home site.
setImageLink(URL) - Method in class cs1705.web.RssFeed
Set this link for this feed's image.
setIn(String) - Method in class cs1705.TestCase
Set the contents of this test case's input stream, which can then be retrieved using TestCase.in().
setIn(Scanner) - Method in class cs1705.TestCase
Set the contents of this test case's input stream, which can then be retrieved using TestCase.in().
setIn(String) - Method in class net.sf.webcat.TestCase
Set the contents of this test case's input stream, which can then be retrieved using in().
setIn(Scanner) - Method in class net.sf.webcat.TestCase
Set the contents of this test case's input stream, which can then be retrieved using in().
setInteractive(boolean) - Method in class cs1705.web.RobotViewer
Mutator for the interactive property.
setIsHtml(boolean) - Method in class cs1705.web.PrintExpression
Mutator for the "isHtml" property, which is optional.
setLink(URL) - Method in interface cs1705.web.RssEntity
Set this entity's link.
setLink(URL) - Method in class cs1705.web.RssEntry
Set this entry's link.
setLink(URL) - Method in class cs1705.web.RssFeed
Set this feed's publication link.
setLoadedFromLink(URL) - Method in class cs1705.web.RssFeed
Set the value this feed believes it was loaded from (normally set by the constructor).
setName(String) - Method in class cs1705.web.Variable
Mutator for the "name" property.
setOutputChannel(PrintWriter) - Method in class cs1705.web.OldWebBot
Deprecated. Tell this bot where to send its output.
setOutputChannel(PrintWriter) - Method in class cs1705.web.WebBot
Tell this bot where to send its output.
setOutputIsHtml(boolean) - Method in class cs1705.web.OldWebBot
Deprecated. Set whether this robot's output should be treated as plain text, or as HTML markup.
setOutputIsHtml(boolean) - Method in class cs1705.web.WebBot
Set whether this robot's output should be treated as plain text, or as HTML markup.
setPhraseOfInterest(String) - Method in class cs1705.web.OldWebBot
Deprecated. A key phrase of interest to look for in documents.
setPhraseOfInterest(String) - Method in class cs1705.web.TurboWebBot
A key phrase of interest to look for in documents.
setPrimaryKey(String) - Method in class cs1705.CSVDataTable
 
setPrimaryKey(String) - Method in interface cs1705.DataTable
This method sets the column name that acts as the primary key for the table.
setRobot(WebBot) - Method in class cs1705.web.RobotViewer
Mutator for the robot property.
setRobot(String) - Method in class cs1705.web.RobotViewer
Mutator for the robot property.
setRobotClass(String) - Method in class cs1705.web.RobotViewer
Mutator for the robotClass property.
setRobotUrl(String) - Method in class cs1705.web.RobotViewer
Mutator for the robotUrl property.
setSecondWord(String) - Method in class cs1705.adventure.Command
Define the second word of this command (the word entered after the command word).
setSystemIn(String) - Method in class cs1705.TestCase
Set the contents of this test case's input stream, which can then be retrieved using TestCase.in().
setSystemIn(String) - Method in class net.sf.webcat.TestCase
Set the contents of this test case's input stream, which can then be retrieved using in().
setTask(RobotTask) - Method in class cs1705.web.RobotViewer
Mutator for the task property.
setTask(String) - Method in class cs1705.web.RobotViewer
Mutator for the task property.
setTaskClass(String) - Method in class cs1705.web.RobotViewer
Mutator for the taskClass property.
setTitle(String) - Method in interface cs1705.web.RssEntity
Set this entity's title.
setTitle(String) - Method in class cs1705.web.RssEntry
Set this entry's title.
setTitle(String) - Method in class cs1705.web.RssFeed
Set this feed's title.
setTitle(String) - Method in class cs1705.web.Window
Sets the title.
setType(String) - Method in class cs1705.web.PrintExpression
Mutator for the "type" property, which is optional.
setType(String) - Method in class cs1705.web.Variable
Mutator for the "type" property, which is optional.
setValue(Object) - Method in class cs1705.web.PrintExpression
Mutator for the "value" property, which provides the variable's initial value.
setValue(String) - Method in class cs1705.web.PrintExpression
Mutator for the "value" property, which provides the variable's initial value.
setValue(String) - Method in class cs1705.web.Variable
Mutator for the "value" property, which provides the variable's initial value.
showAll() - Method in class cs1705.adventure.CommandWords
Print all valid commands to System.out.
simpleArgumentList(Class<?>...) - Static method in class net.sf.webcat.ReflectionSupport
Constructs a printable version of a method's argument list, including the parentheses, given the method's parameter type(s), if any.
simpleClassName(Class<?>) - Static method in class net.sf.webcat.ReflectionSupport
Returns the name of the given class without any package prefix.
simpleMethodName(String, Class<?>...) - Static method in class net.sf.webcat.ReflectionSupport
Constructs a printable version of a method's name, given the method name and its parameter type(s), if any.
simpleMethodName(Method) - Static method in class net.sf.webcat.ReflectionSupport
Constructs a printable version of a method's name.
standardRule(StringNormalizer.StandardRule) - Static method in class net.sf.webcat.StringNormalizer
Retrieve a standard rule by name.
StringNormalizer - Class in net.sf.webcat
This class represents a programmable string "normalizing" engine that can be used to convert strings into a canonical form, say, before comparing strings for equality or something.
StringNormalizer() - Constructor for class net.sf.webcat.StringNormalizer
Creates a new StringNormalizer object containing no rules (the "identity" normalizer).
StringNormalizer(boolean) - Constructor for class net.sf.webcat.StringNormalizer
Creates a new StringNormalizer object, optionally containing the standard set of rules.
StringNormalizer(StringNormalizer.StandardRule...) - Constructor for class net.sf.webcat.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer(StringNormalizer.NormalizerRule...) - Constructor for class net.sf.webcat.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer(Collection<? extends StringNormalizer.NormalizerRule>) - Constructor for class net.sf.webcat.StringNormalizer
Creates a new StringNormalizer object containing the given set of rules.
StringNormalizer.NormalizerRule - Interface in net.sf.webcat
This interface defines what it means to be a normalizer rule: an object having an appropriate StringNormalizer.NormalizerRule.normalize(String) method.
StringNormalizer.RegexNormalizerRule - Class in net.sf.webcat
A highly reusable concrete implementation of StringNormalizer.NormalizerRule that applies a series of regular expression substitutions.
StringNormalizer.RegexNormalizerRule(String...) - Constructor for class net.sf.webcat.StringNormalizer.RegexNormalizerRule
Create a new regular expression rule using a series of pattern/replacement pairs.
StringNormalizer.RegexNormalizerRule(boolean, String...) - Constructor for class net.sf.webcat.StringNormalizer.RegexNormalizerRule
Create a new regular expression rule using a series of pattern/replacement pairs.
StringNormalizer.StandardRule - Enum in net.sf.webcat
This enumeration defines the set of predefined transformation rules.
StudentTestableWindowController - Class in objectdraw
This is an extension to the TestableWindowController that includes "wrapper"-like assertions that keep Students from having to make use of the more complicated but more generic assertion statements in TestableWindowController.
StudentTestableWindowController() - Constructor for class objectdraw.StudentTestableWindowController
 
systemErr() - Method in class cs1705.TestCase
Get a version of System.err that records its history so you can compare against it later.
systemErr() - Method in class net.sf.webcat.TestCase
Get a version of System.err that records its history so you can compare against it later.
SystemIOUtilities - Class in net.sf.webcat
A utility class that provides functions for replacing System I/O streams with helpful alternative implementations to make some testing jobs easier.
systemOut() - Method in class cs1705.TestCase
Get a version of System.out that records its history so you can compare against it later.
systemOut() - Method in class net.sf.webcat.TestCase
Get a version of System.out that records its history so you can compare against it later.

T

task() - Method in interface cs1705.web.RobotTask
This method encapsulates a sequence of instructions for creating and commanding one or more robots (see WebBot).
TestableWindowController - Class in objectdraw
TestableWindowController is an FrameWindowController with various methods to assert things about the state of the Window.
TestableWindowController() - Constructor for class objectdraw.TestableWindowController
This constructor forces TestableWindowController to wait for the initial window to draw itself before exiting the constructor.
TestableWindowControllerTest - Class in objectdraw
Test cases for TestableWindowController
TestableWindowControllerTest() - Constructor for class objectdraw.TestableWindowControllerTest
Creates a new TestableWindowControllerTest test object.
TestCase - Class in cs1705
This class provides some customized behavior beyond the basics of TestCase to support testing of I/O driven programs and flexible/fuzzy comparison of strings.
TestCase() - Constructor for class cs1705.TestCase
Creates a new TestCase object.
TestCase(String) - Constructor for class cs1705.TestCase
Creates a new TestCase object.
TestCase - Class in net.sf.webcat
This class provides some customized behavior beyond the basics of TestCase to support testing of I/O driven programs and flexible/fuzzy comparison of strings.
TestCase() - Constructor for class net.sf.webcat.TestCase
Creates a new TestCase object.
TestCase(String) - Constructor for class net.sf.webcat.TestCase
Creates a new TestCase object.
testEmptyCanvas() - Method in class objectdraw.TestableWindowControllerTest
Test empty canvas.
testLine() - Method in class objectdraw.TestableWindowControllerTest
Test line.
testMouseMove() - Method in class objectdraw.TestableWindowControllerTest
Test mouse move.
testRectangle() - Method in class objectdraw.TestableWindowControllerTest
Test rectangle.
toString() - Method in interface cs1705.web.HtmlElement
Generate a complete HTML rendering of this element, all its attributes, and any text that it contains.
toString() - Method in class cs1705.web.OldWebBot.HeadingDescriptor
Deprecated. Get a printable version of this heading.
toString() - Method in class cs1705.web.OldWebBot
Deprecated. Get a printable summary of this robot.
toString() - Method in class cs1705.web.RssEntry
Generate a printable version of this entry.
toString() - Method in class cs1705.web.RssFeed
Generate a printable version of this feed.
toString() - Method in class cs1705.web.WebBot
Get a printable summary of this robot.
toString() - Method in class cs1705.weblog.LogEntry
Create a string representation of the data.
TurboWebBot - Class in cs1705.web
This advanced WebBot provides additional methods useful for extracting content from web pages basdon tag type, tag id, CSS class, or other features.
TurboWebBot() - Constructor for class cs1705.web.TurboWebBot
Creates a new WebBot that is not yet viewing any web page.
TurboWebBot(URI) - Constructor for class cs1705.web.TurboWebBot
Creates a new WebBot for a given URI.
TurboWebBot(URL) - Constructor for class cs1705.web.TurboWebBot
Creates a new WebBot for a given URL.
TurboWebBot(String) - Constructor for class cs1705.web.TurboWebBot
Creates a new WebBot for a given URL.
TurboWebBot(File) - Constructor for class cs1705.web.TurboWebBot
Creates a new WebBot for a given file.

U

updateRobotMsg() - Method in class cs1705.web.RobotViewer
Update the text output with the current output history of the robot.
urlEncode(String) - Static method in class cs1705.web.WebUtilities
Encodes a string for use in a URL.
urlFor(String) - Static method in class cs1705.web.WebUtilities
Creates a URL object from a string, without throwing declared exceptions.

V

valueOf(String) - Static method in enum net.sf.webcat.StringNormalizer.StandardRule
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.webcat.StringNormalizer.StandardRule
Returns an array containing the constants of this enum type, in the order they're declared.
Variable - Class in cs1705.web
A ZUL variable declaration.
Variable() - Constructor for class cs1705.web.Variable
Creates a new Variable component.
Version - Class in cs1705
This class allows access to the package version information.
Version() - Constructor for class cs1705.Version
Create a new Version object.
version() - Static method in class cs1705.Version
Retrieve the current version information for this class (and this class jar/library) as a string.
VTControllerTester - Class in objectdraw
 
VTControllerTester(TestableWindowController) - Constructor for class objectdraw.VTControllerTester
Create a UI testing robot, given a TestableWindowController.
VTWindowControllerListener - Class in objectdraw
This is our listener that delegates mouse events to the component, to simplify handling.
VTWindowControllerListener(TestableWindowController, DrawingCanvas) - Constructor for class objectdraw.VTWindowControllerListener
 

W

waitForInit() - Method in class objectdraw.TestableWindowController
This method forces the program to wait on a thread to release the init lock.
waitUnlock() - Method in class objectdraw.VTWindowControllerListener
 
walk(String) - Method in class cs1705.adventure.Player
Try to walk in a given direction.
WebBot - Class in cs1705.web
This class represents a robot that knows how to walk through a web page and identify headings and links.
WebBot() - Constructor for class cs1705.web.WebBot
Creates a new WebBot that is not yet viewing any web page.
WebBot(String) - Constructor for class cs1705.web.WebBot
Creates a new WebBot for a given URL.
WebUtilities - Class in cs1705.web
This class provides static utility methods that streamline some web-related operations.
welcomeMessage() - Method in class cs1705.adventure.Game
Returns the welcome message printed when the game starts.
Window - Class in cs1705.web
A generic window.
Window() - Constructor for class cs1705.web.Window
Creates a new Window object.
Window(String, String, boolean) - Constructor for class cs1705.web.Window
Creates a new Window object.
write(int) - Method in class net.sf.webcat.PrintStreamWithHistory
Write the specified byte to this stream.
write(byte[], int, int) - Method in class net.sf.webcat.PrintStreamWithHistory
Write len bytes from the specified byte array starting at offset off to this stream.
write(int) - Method in class net.sf.webcat.PrintWriterWithHistory
Write a single character.
write(char[], int, int) - Method in class net.sf.webcat.PrintWriterWithHistory
Write A Portion of an array of characters.
write(String, int, int) - Method in class net.sf.webcat.PrintWriterWithHistory
Write a portion of a string.

A B C D E F G H I J L M N O P Q R S T U V W
Last updated: Wed, Apr 1, 2009 • 12:29 AM EDT

Copyright © 2009 Virginia Tech.