C D E G I L P R S T U

C

close() - Method in class tylerhayes.tools.Log
Properly closes the resources used with the Log object--in this case just a private BufferedWriter object used to write to the specified file.
close(String) - Method in class tylerhayes.tools.Log
This version of close() takes a String parameter that is passed to logFooter(String) so that a footer is output to the file before closing.
connectToPostgres(String, String, String) - Static method in class tylerhayes.tools.DatabaseConnector
Connects to a specific Postgresql database with the gievn parameters: database url, user name, and password.

D

DatabaseConnector - Class in tylerhayes.tools
The DatabaseConnector class simply makes a connection to a database-- nothing more, nothing less.
DatabaseConnector() - Constructor for class tylerhayes.tools.DatabaseConnector
 
delete(String) - Method in class tylerhayes.tools.PostgreSQLConsole
 
disableIndicators() - Method in class tylerhayes.tools.Log
Turns off the use of message indicators.
disableStdoutForAll() - Method in class tylerhayes.tools.Log
Disables the directing of messages to stdout.

E

enableIndicators() - Method in class tylerhayes.tools.Log
Turns the use of indicators back on (they are on by default).
enableStdoutForAll() - Method in class tylerhayes.tools.Log
Enables the output of all logged messages (excluding header and footer) to be directed to stdout as well as the log file.
enableStdoutForErrorsOnly() - Method in class tylerhayes.tools.Log
Enables the output of error messages to be directed to stdout as well as the log file.

G

GracefulShutdown - Interface in tylerhayes.tools
This Interface, along with the TerminationInterceptor Class, comprise a simple signal handling mechanism for catching a kill signal--more specifically, when a user hits CTRL-C when running a program through a command-line (won't work when clicking the "Termination" button in Eclipse).

I

insert(String) - Method in class tylerhayes.tools.PostgreSQLConsole
 

L

Log - Class in tylerhayes.tools
The Log Class defines an object that logs messages to a log file.
Log() - Constructor for class tylerhayes.tools.Log
Creates a Log object that writes to a default log file.
Log(String) - Constructor for class tylerhayes.tools.Log
Creates a Log object that writes to the file given as the parameter, fileName.
Log(String, boolean) - Constructor for class tylerhayes.tools.Log
Creates a Log object that appends to the file given as the parameter, fileName.
logData(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs a data message to the log file.
logError(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs an error message to the log file.
logFatalError(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs a fatal error message to the log file.
logFooter(String) - Method in class tylerhayes.tools.Log
Outputs a formatted footer marking the end of a log session.
logGeneralMessage(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs a general message to the log file.
logGeneralMessageWithoutIndicator(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs a general message to the log file without an indicator.
logHeader(String) - Method in class tylerhayes.tools.Log
Outputs a formatted header marking the beginning of the log session.
logKill(int, boolean) - Method in class tylerhayes.tools.Log
Logs that the program has been killed.
logTimestamp(int) - Method in class tylerhayes.tools.Log
Logs the current timestamp to the log file.
logWarning(String, int, boolean) - Method in class tylerhayes.tools.Log
Logs a warning message to the log file.

P

PostgreSQLConsole - Class in tylerhayes.tools
 
PostgreSQLConsole(Connection) - Constructor for class tylerhayes.tools.PostgreSQLConsole
 

R

resetIndicators() - Method in class tylerhayes.tools.Log
Resets the indicator values to the default values:
run() - Method in class tylerhayes.tools.TerminationInterceptor
Calls the object's GracefulShutdown instance's shutDown() method.

S

select(String) - Method in class tylerhayes.tools.PostgreSQLConsole
 
selectScrollable(String) - Method in class tylerhayes.tools.PostgreSQLConsole
 
setDataIndicator(String) - Method in class tylerhayes.tools.Log
Sets the data message indicator.
setErrorIndicator(String) - Method in class tylerhayes.tools.Log
Sets the error message indicator.
setFatalIndicator(String) - Method in class tylerhayes.tools.Log
Sets the fatal error message indicator.
setFile(String) - Method in class tylerhayes.tools.Log
Sets the Log object to write to the given file.
setFileAppend(String) - Method in class tylerhayes.tools.Log
Sets the Log object to write to the given file for appending.
setFileDefault() - Method in class tylerhayes.tools.Log
Sets the Log object to write to a log file with a default file name.
setGeneralIndicator(String) - Method in class tylerhayes.tools.Log
Sets the general message indicator.
setKillIndicator(String) - Method in class tylerhayes.tools.Log
Sets the kill message indicator.
setTabSize(int) - Method in class tylerhayes.tools.Log
Sets the tab size (number of spaces) for message indentation.
setWarningIndicator(String) - Method in class tylerhayes.tools.Log
Sets the warning message indicator.
shutDown() - Method in interface tylerhayes.tools.GracefulShutdown
What is to happen when the program is terminated.
start() - Method in interface tylerhayes.tools.GracefulShutdown
What is to be run in order to catch a kill signal.

T

TerminationInterceptor - Class in tylerhayes.tools
This Class, along with the GracefulShutdown Interface, comprise a simple signal handling mechanism for catching a kill signal--more specifically, when a user hits CTRL-C when running a program through a command-line (won't work when clicking the "Termination" button in Eclipse).
TerminationInterceptor(GracefulShutdown) - Constructor for class tylerhayes.tools.TerminationInterceptor
Creates a new TerminationInterceptor object with the given GracefulShutdown Interface instance.
tylerhayes.tools - package tylerhayes.tools
 

U

update(String) - Method in class tylerhayes.tools.PostgreSQLConsole
 

C D E G I L P R S T U