A B C D E F G H I J L M N O P R S T U V W Y Z

A

actionPerformed(ActionEvent) - Method in class grace.log.viewer.HostPanel
 
add(Event) - Method in class grace.log.viewer.TablePanel
 
add(Object[], Vector) - Static method in class grace.io.PrintWriter
Just a utility function to add an array of objects to a vector of objects.
addDistributer(String) - Method in class grace.log.viewer.Application
 
addDistributer(String, DefaultMutableTreeNode) - Method in class grace.log.viewer.TreePanel
 
addHandler(Handler) - Method in class grace.log.Log
Add the given handler into this log such that all subsequent messages will be dispatched to this and all previously installed Handlers.
addHandler(Handler) - Method in interface grace.log.Distributer
 
addHandler(Handler, String) - Method in class grace.log.Log
Add the given handler into this log such that all subsequent messages of the given event will be dispatched to this and all previously installed Handlers of the given event.
addHandler(Handler, String) - Method in interface grace.log.Distributer
 
addHandler(String) - Method in class grace.log.Log
Given the name of a handler, this looks up the properties to instantiate and install the correct handler.
addHost(String) - Method in class grace.log.viewer.TreePanel
 
addLocalHandler(String, Class) - Method in class grace.log.Log
 
addMouseListenerToHeaderInTable(JTable) - Method in class grace.log.viewer.TableSorter
 
addPrintHandler(Class, PrintHandler) - Static method in class grace.io.PrintWriter
Caches the handler for the given class so that it can be printed by calling the "handle" function on the given PrintHandler.
addRemoteObject(String, String) - Method in class grace.log.Log
This is called when a handler is specified as remote using the log.handler property.
addToEventHandlers(Handler, String, String) - Method in class grace.log.Log
This adds a handler for each event given in the space separated list of events.
advance(int) - Method in class grace.util.Tokenizer
Move the current position forward the given number of characters.
advance(RE) - Method in class grace.util.Tokenizer
Advances the current position in the source to the start of the match of given expression.
advance(RE, int) - Method in class grace.util.Tokenizer
Advances the current position in the source to the start of the match of given numbered subexpression.
advance(String) - Method in class grace.util.Tokenizer
Advances the current position in the source to the start of the match given expression.
advance(String, int) - Method in class grace.util.Tokenizer
Advances the current position in the source to the start of the match of given numbered subexpression.
Airplane - class grace.io.test.Airplane.
 
alreadyPrinted(Object) - Method in class grace.io.PrintWriter
This indicates that the given object has been printed in the PrintStream and should not be printed again, presumably.
appendGroupName(Vector, ThreadGroup) - Method in class grace.log.Event
 
Application - class grace.log.viewer.Application.
 
Application(String) - Constructor for class grace.log.viewer.Application
 
arrayTypeName(Class, boolean, boolean) - Static method in class grace.io.PrintWriter
 
autoFlush() - Method in class grace.io.PrintWriter
 

B

beginList() - Method in class grace.io.PrintWriter
 
beginList() - Method in class grace.io.JavaPrintWriter
 
beginList() - Method in class grace.io.FormattedPrintWriter
 
beginList() - Method in class grace.io.LispPrintWriter
 
beginObject() - Method in class grace.io.PrintWriter
 
beginObject() - Method in class grace.io.JavaPrintWriter
 
beginObject() - Method in class grace.io.FormattedPrintWriter
 
beginObject() - Method in class grace.io.LispPrintWriter
 
beginString() - Method in class grace.io.PrintWriter
 
BLACK - Static variable in class grace.log.EventFormat
 
BLACK_BACKGROUND - Static variable in class grace.log.EventFormat
 
BLUE - Static variable in class grace.log.EventFormat
 
BLUE_BACKGROUND - Static variable in class grace.log.EventFormat
 
BRIGHT - Static variable in class grace.log.EventFormat
 

C

callTestThrow(Class) - Method in class grace.log.test.StackTraceTest
 
changedUpdate(DocumentEvent) - Method in class grace.log.viewer.HostPanel
 
checkAndBindDistributer() - Method in class grace.log.Log
This binds the Distributer in the RMI registry if the property is set.
checkAndBindHandler(String, Handler) - Method in class grace.log.Log
This checks to see if the Handler needs to be bound in the RMI registry as a server.
checkModel() - Method in class grace.log.viewer.TableSorter
 
clazz - Variable in class grace.io.Value
 
clear() - Method in class grace.log.Writer
 
clear() - Method in class grace.util.NameMap
 
clone() - Method in class grace.util.Tokenizer
The copy allows the caller to capture the current state of this Tokenizer such that this Tokenizer can continue parsing but not affect the copy.
Collection - class grace.io.handlers.java.util.Collection.
This class is broken out into a separately loaded handler because it is only available in jdk 1.2.
Collection() - Constructor for class grace.io.handlers.java.util.Collection
 
colorListToColor(String) - Method in class grace.log.EventFormat
Takes a space separated list of string colors and returns a composite color that can be used to set any elements color of this class.
compare(int, int) - Method in class grace.log.viewer.TableSorter
 
compareRowsByColumn(int, int, int) - Method in class grace.log.viewer.TableSorter
 
contains(Object) - Method in class grace.util.NameMap
 
containsKey(Object) - Method in class grace.util.NameMap
 
createThreadNames() - Method in class grace.log.Event
 
currentStackLine(Throwable, int) - Static method in class grace.log.StackTrace
This returns the a specific line in the given throwable (stack trace) that corresponds to level.
cutFileInHalf() - Method in class grace.log.FileHandler
 
CYAN - Static variable in class grace.log.EventFormat
 
CYAN_BACKGROUND - Static variable in class grace.log.EventFormat
 

D

d - Variable in class grace.log.test.performance.General.ToPrint
 
d - Variable in class grace.io.test.FormattedPrintWriterTest
 
date - Variable in class grace.log.test.GeneralTest.TestObject
 
dateFormat - Variable in class grace.io.PrintWriter
 
dispatch(Handler, Event) - Method in class grace.log.Log
This function calls the handler.handle(Event) function.
distribute(Event) - Method in class grace.log.Log
This is the heart of the logging.
distribute(Event) - Method in interface grace.log.Distributer
 
Distributer - interface grace.log.Distributer.
 
duration() - Method in class grace.util.Timer
 
durationInMilliSeconds() - Method in class grace.util.Timer
 

E

eliminateEndingNewlines(String) - Method in class grace.log.EventFormat
 
enableErrors(boolean) - Static method in class grace.log.Log
Enables or disables the logging of errors.
enableEventType(String, boolean) - Method in class grace.log.Log
 
enableEventType(String, boolean) - Method in interface grace.log.Distributer
Enables or disables the logging of the given event type.
enableNotices(boolean) - Static method in class grace.log.Log
Enables or disables the logging of notices.
enableTraces(boolean) - Static method in class grace.log.Log
Enables or disables the logging of traces.
enableWarnings(boolean) - Static method in class grace.log.Log
Enables or disables the logging of warnings.
endList() - Method in class grace.io.PrintWriter
 
endList() - Method in class grace.io.JavaPrintWriter
 
endList() - Method in class grace.io.FormattedPrintWriter
 
endList() - Method in class grace.io.LispPrintWriter
 
endObject() - Method in class grace.io.PrintWriter
 
endObject() - Method in class grace.io.JavaPrintWriter
 
endObject() - Method in class grace.io.FormattedPrintWriter
 
endObject() - Method in class grace.io.LispPrintWriter
 
endString() - Method in class grace.io.PrintWriter
 
EnumerationTest - class grace.io.test.handlers.EnumerationTest.
 
EnumerationTest() - Constructor for class grace.io.test.handlers.EnumerationTest
 
ERROR - Static variable in class grace.log.Log
Can be passed to log(type, ...) or to enableEvent(type) functions.
error(Exception) - Static method in class grace.log.Log
This function simply logs the given exception to the log device.
error(String) - Static method in class grace.log.Log
This logs the indicated error message text to the configured log device.
error(String, Exception) - Static method in class grace.log.Log
This logs the given message along with the given exception.
error(String, Object) - Static method in class grace.log.Log
This logs the error message and then logs the given object.
errorsEnabled() - Static method in class grace.log.Log
 
ESC - Static variable in class grace.log.EventFormat
 
establishWriter(String) - Method in class grace.log.FileHandler
This sets up the stream depending on what is given for filename.
Event - class grace.log.Event.
This class captures all of the data needed to record a programmatic entry to one of the log Handlers.
Event(String) - Constructor for class grace.log.Event
 
eventFieldIsInteresting(String, Vector, Vector) - Method in class grace.log.Log
This applies the filters against the given text.
EventFormat - class grace.log.EventFormat.
This class simply captures all of the formatting functionality into a class rather than have it in a specific Handler.
EventFormat() - Constructor for class grace.log.EventFormat
This constructs an EventFormat with the default formatting.
EventFormat(String) - Constructor for class grace.log.EventFormat
This constructs an EventFormat with custom formatting.
eventIsInteresting(Event) - Method in class grace.log.Log
Indicates that the given event should be included in the log based on whether the function from which the event was generated matches the filters.
eventTypeEnabled(String) - Method in class grace.log.Log
Indicates that the given event type should be included in the log.
eventTypeEnabled(String) - Method in interface grace.log.Distributer
Indicates that the given eventType is will be distributed to the Handlers.
expandSpecialChars(String) - Static method in class grace.log.EventFormat
This expands newlines and tab escapes into the actual character.

F

fieldAccessors(Class) - Static method in class grace.io.PrintWriter
Tries to find and remember the accessors for the given class.
FileHandler - class grace.log.FileHandler.
This kind of PrintHandler writes all of its data into a file.
FileHandler(String) - Constructor for class grace.log.FileHandler
This constructs a FileHandler that prints to the specified file.
FileHandler(String, int) - Constructor for class grace.log.FileHandler
This constructs a FileHandler that prints to the given filename and limits the size of this file during logging to the given maxKilobytes.
FileHandler(String, String) - Constructor for class grace.log.FileHandler
This constructs a FileHandler that is initialized by properties.
find(RE) - Method in class grace.util.Tokenizer
Returns the first string in the input that matches the given regular expression or null if there are none.
find(String) - Method in class grace.util.Tokenizer
Returns the first string in the input that matches the given regular expression or null if there are none.
findAndSubstitute(RE, String) - Method in class grace.util.Tokenizer
Returns the result of substituting the result of the first match of the given regularExpression into the given substituteString.
findAndSubstitute(String, String) - Method in class grace.util.Tokenizer
Returns the result of substituting the result of the first match of the given regularExpression into the given substituteString.
FlightState - class grace.io.test.FlightState.
 
FlightState(double) - Constructor for class grace.io.test.FlightState
 
format - Variable in class grace.log.PrintHandler
 
format(Event) - Method in class grace.log.EventFormat
This converts and returns the given event as a String using a default format or the format set in the EventFormat constructor.
format(String) - Method in class grace.util.Time
 
formatException(StringBuffer, Exception) - Method in class grace.log.EventFormat
This formats the given exception.
formatFormattedObject(String, StringBuffer, String, Object) - Method in class grace.log.EventFormat
This function writes the given object to the given buffer using the grace.io.JavaPrintWriter.
formatGenericObject(StringBuffer, String, String, Object) - Method in class grace.log.EventFormat
This function writes the given object to the given buffer using the given format string.
formatMessage(StringBuffer, String, String) - Method in class grace.log.EventFormat
This formats a string representation of the given message.
formatObject(StringBuffer, String, String, Object) - Method in class grace.log.EventFormat
This formats a string representation of the given object.
formatRelativeTime(StringBuffer, String, Date) - Method in class grace.log.EventFormat
This writes the difference in time between now and the start of the application to the given bufferformat.
FormattedPrintWriter - class grace.io.FormattedPrintWriter.
This class provides a PrintWriter that can be configured generally by a format String.
FormattedPrintWriter(OutputStream) - Constructor for class grace.io.FormattedPrintWriter
 
FormattedPrintWriter(OutputStream, boolean) - Constructor for class grace.io.FormattedPrintWriter
 
FormattedPrintWriter(Writer) - Constructor for class grace.io.FormattedPrintWriter
 
FormattedPrintWriter(Writer, boolean) - Constructor for class grace.io.FormattedPrintWriter
 
FormattedPrintWriterTest - class grace.io.test.FormattedPrintWriterTest.
 
FormattedPrintWriterTest() - Constructor for class grace.io.test.FormattedPrintWriterTest
 
formatThreadName(StringBuffer, String, Vector) - Method in class grace.log.EventFormat
This writes the given Vector of names to the given buffer assuming the format contains thread name escapes.
formatTime(StringBuffer, String, Date) - Method in class grace.log.EventFormat
This returns a string representation of the current time, formatted according to the previously configured system properties.
functionAAAToTest() - Method in class grace.log.test.properties.PropertyLoadingTest
 
functionBBBToTest() - Method in class grace.log.test.properties.PropertyLoadingTest
 
functionCCCToTest() - Method in class grace.log.test.properties.PropertyLoadingTest
 

G

General - class grace.log.test.performance.General.
This installs a null Handler so that the performance of the Log system can be measured independently of the output device.
General.ToPrint - class grace.log.test.performance.General.ToPrint.
 
General.ToPrint() - Constructor for class grace.log.test.performance.General.ToPrint
 
General(String, String) - Constructor for class grace.log.test.performance.General
 
GeneralTest - class grace.log.test.GeneralTest.
Testing for the log system.
GeneralTest.TestObject - class grace.log.test.GeneralTest.TestObject.
 
GeneralTest.TestObject() - Constructor for class grace.log.test.GeneralTest.TestObject
 
GeneralTest.TestRemoteClass - class grace.log.test.GeneralTest.TestRemoteClass.
 
GeneralTest.TestRemoteClass() - Constructor for class grace.log.test.GeneralTest.TestRemoteClass
 
GeneralTest(int) - Constructor for class grace.log.test.GeneralTest
 
get(RE) - Method in class grace.util.Tokenizer
Returns the text that matches the given regularExpression that is assumed to start at the current position in the input source or returns null if at the end of the source.
get(RE, int) - Method in class grace.util.Tokenizer
Returns the next match not more than maxOffset characters from the current position in the input stream or null if there are no more tokens.
get(String) - Method in class grace.util.Tokenizer
Returns the text that matches the given regularExpression that is assumed to start at the current position in the input source or returns null if at the end of the source.
get(String) - Method in class grace.util.Properties
Returns the value of the property referred to by name or null if the named property does not exist.
get(String[]) - Method in class grace.util.Properties
Returns a property by searching linearly for each name in the array of names.
get(String[], String) - Method in class grace.util.Properties
Returns a property value by searching linearly for each name in array of names.
get(String, int) - Method in class grace.util.Tokenizer
Returns the next match not more than maxOffset characters from the current position in the input stream or null if there are no more tokens.
get(String, String) - Method in class grace.util.Properties
Returns the value of the property referred to by name or defaultValue if the named property does not exist.
getA() - Method in class grace.io.test.FormattedPrintWriterTest
 
getClassname() - Method in class grace.log.StackTrace
 
getColumnClass(int) - Method in class grace.log.viewer.TableMap
 
getColumnCount() - Method in class grace.log.viewer.TableMap
 
getColumnName(int) - Method in class grace.log.viewer.TableMap
 
getD() - Method in class grace.log.test.GeneralTest.TestObject
 
getD() - Method in class grace.log.test.performance.General.ToPrint
 
getDate(DateFormat) - Method in class grace.util.Tokenizer
Parses and returns the next token as a Date parsed by the given format.
getDate(String) - Method in class grace.util.Tokenizer
Parses and returns the next token as a Date parsed by a SimpleDateFormat object created with the given simpleDateFormat string.
getDateFormat(String) - Static method in class grace.log.EventFormat
Utility function used by formatTime(...) to find and return java.text.DateFormat for the given name.
getF() - Method in class grace.io.test.FormattedPrintWriterTest
 
getFilename() - Method in class grace.log.StackTrace
 
getFunction() - Method in class grace.log.StackTrace
 
getHostname() - Method in class grace.log.Event
 
getI() - Method in class grace.log.test.GeneralTest.TestObject
 
getI() - Method in class grace.log.test.performance.General.ToPrint
 
getI() - Method in class grace.io.test.FormattedPrintWriterTest
 
getInstance() - Static method in class grace.log.Log
Used to staticly access the singleton log instance.
getInt() - Method in class grace.util.Tokenizer
Parses and returns the next token (skipping white space) as an integer.
getInt(int) - Method in class grace.util.Tokenizer
Parses and returns the next token (skipping white space) as an integer of the given maximum number of digits.
getInt(RE, String) - Method in class grace.util.Tokenizer
This matches the given regular expression, sustitutes the match into the given substitution string, parses the result as an integer, and returns the result as an integer.
getInt(String, String) - Method in class grace.util.Tokenizer
This takes matches the given regular expression, sustitutes the match into the given substitution string, parses the result as an integer, and returns the result.
getJavaProperties() - Method in class grace.util.Properties
Returns a list of the properties.
getLine() - Method in class grace.util.Tokenizer
Returns a line of text (delimited by newline) from input without the newline character in the result.
getLineNumber() - Method in class grace.log.StackTrace
 
getLineNumberString() - Method in class grace.log.StackTrace
 
getManufacturer() - Method in class grace.io.test.Airplane
 
getMatch(RE) - Method in class grace.util.Tokenizer
Utility function that returns the first match in the source of the given regular expression and sets the current position to the end of the first match.
getMessage() - Method in class grace.log.Event
 
getModel() - Method in class grace.log.viewer.TableMap
 
getName() - Method in class grace.log.Log
This returns the name of this log/distributer.
getName() - Method in interface grace.log.Distributer
The name of this Distributer uniquely identifies it among all Distributers on the internet.
getName() - Method in class grace.io.Value
 
getName() - Method in class grace.io.test.Passenger
 
getNextInt() - Method in class grace.util.Tokenizer
Parses and returns the next integer in the input (skipping non decimal digits and white space).
getNullString() - Method in class grace.log.test.GeneralTest.TestObject
 
getNumber() - Method in class grace.log.Event
 
getNumEngines() - Method in class grace.io.test.Airplane
 
getObject() - Method in class grace.log.Event
 
getObject() - Method in class grace.io.Value
 
getObjectClass() - Method in class grace.io.Value
 
getOriginalStream() - Method in class grace.log.PrintCatcher
 
getOut() - Method in class grace.log.PrintHandler
 
getPassengers() - Method in class grace.io.test.Airplane
 
getPosition() - Method in class grace.log.Event
 
getPosition() - Method in class grace.util.Tokenizer
Return the index of current position in the source.
getPrefixedDate(RE, DateFormat) - Method in class grace.util.Tokenizer
Parses and returns the token, after the given regular expression matches, as a Date parsed by the format object.
getPrefixedDate(RE, String) - Method in class grace.util.Tokenizer
Parses and returns the token, after the given regular expression matches, as a Date parsed by a SimpleDateFormat object created with the given simpleDateFormat string.
getPrefixedDate(String, DateFormat) - Method in class grace.util.Tokenizer
Parses and returns the token, after the given regular expression matches, as a Date parsed by the format object.
getPrefixedDate(String, String) - Method in class grace.util.Tokenizer
Parses and returns the token, after the given regular expression matches, as a Date parsed by a SimpleDateFormat object created with the given simpleDateFormat string.
getPrefixedInt(String) - Method in class grace.util.Tokenizer
Parses and returns the integer token after the matching regular expression.
getPrintHandler(Class) - Static method in class grace.io.PrintWriter
This finds a PrintHandler by first looking in the handlers subdirectory for the type and then by iterating through the list of added PrintHandlers (added using addPrintHandler) to find a PrintHandler that will handle the requested subtype.
getPrintMethod(Class) - Static method in class grace.io.PrintWriter
This returns the reflected method named "printTo(PrintWriter)" on the given clazz.
getPrintObjectsOnlyOnce() - Method in class grace.io.PrintWriter
 
getPrintToHandler(Class) - Static method in class grace.io.PrintWriter
This finds and adds a PrintMethodHandler for the given class that invokes the classes printTo method if available it has one.
getProperties() - Method in class grace.log.Log
Returns the properties list that is statically maintained by this class.
getRowCount() - Method in class grace.log.viewer.TableMap
 
getS() - Method in class grace.log.test.GeneralTest.TestObject
 
getS() - Method in class grace.log.test.performance.General.ToPrint
 
getS() - Method in class grace.io.test.FormattedPrintWriterTest
 
getSampleInt() - Method in class grace.log.test.ObjectSelfReferenceTest
 
getSampleInt() - Method in class grace.log.test.handlers.jdbc.Test
 
getSampleObject() - Method in class grace.log.test.ObjectSelfReferenceTest
 
getSampleString() - Method in class grace.log.test.ObjectSelfReferenceTest
 
getSampleString() - Method in class grace.log.test.handlers.jdbc.Test
 
getSelectedNode() - Method in class grace.log.viewer.TreePanel
Returns the TreeNode instance that is selected in the tree.
getSelf() - Method in class grace.io.test.Airplane
 
getShortClassname() - Method in class grace.log.StackTrace
 
getSource() - Method in class grace.util.Tokenizer
Returns the entire source.
getSpeed() - Method in class grace.io.test.FlightState
 
getState() - Method in class grace.io.test.Airplane
 
getSubstitutedMatch(RE, String) - Method in class grace.util.Tokenizer
Utility function to find the first match of the given expression in the source, substitute the found match into the given susbstitution string and return the result.
getTime() - Method in class grace.log.Event
 
getTime(DateFormat, Date) - Method in class grace.util.Tokenizer
Parses and returns the next token as a Date parsed by the given time format but using the year, month, and date of the given date.
getTime(String, Date) - Method in class grace.util.Tokenizer
Parses and returns the next token as a Date parsed by the given time format but using the year, month, and date of the given date.
getToken() - Method in class grace.util.Tokenizer
Returns the next white space delimited token in the input stream or null if there are no more tokens.
getToken(int) - Method in class grace.util.Tokenizer
Returns the next white space delimited token not more than lastRelativeStartPosition characters from the current position in the input stream or null if there are no more tokens.
getType() - Method in class grace.log.Event
 
getURLFile(String) - Static method in class grace.util.Registry
This utility function simply parses and returns the file portion (also called "the name") of the given url.
getURLHost(String) - Static method in class grace.util.Registry
This utility function simply parses and returns the hostname portion of the given url.
getV() - Method in class grace.log.test.GeneralTest.TestObject
 
getV() - Method in class grace.io.test.FormattedPrintWriterTest
 
getValue1() - Method in class grace.log.test.GeneralTest.TestRemoteClass
 
getValue2() - Method in class grace.log.test.GeneralTest.TestRemoteClass
 
getValue3() - Method in class grace.log.test.GeneralTest.TestRemoteClass
 
getValueAt(int, int) - Method in class grace.log.viewer.TableMap
 
getValueAt(int, int) - Method in class grace.log.viewer.TableSorter
 
getVirtualMachineName() - Method in class grace.log.Event
 
gmt() - Static method in class grace.util.Time
Convenience function for returning the GMT time zone.
grace.io - package grace.io
 
grace.io.handlers.java.util - package grace.io.handlers.java.util
 
grace.io.test - package grace.io.test
 
grace.io.test.handlers - package grace.io.test.handlers
 
grace.log - package grace.log
 
grace.log.test - package grace.log.test
 
grace.log.test.applet - package grace.log.test.applet
 
grace.log.test.centralized - package grace.log.test.centralized
 
grace.log.test.handlers.jdbc - package grace.log.test.handlers.jdbc
 
grace.log.test.performance - package grace.log.test.performance
 
grace.log.test.properties - package grace.log.test.properties
 
grace.log.viewer - package grace.log.viewer
 
grace.tools - package grace.tools
 
grace.util - package grace.util
 
GREEN - Static variable in class grace.log.EventFormat
 
GREEN_BACKGROUND - Static variable in class grace.log.EventFormat
 

H

h - Variable in class grace.io.test.FormattedPrintWriterTest
 
handle(Event) - Method in class grace.log.ProxyHandler
The handle(Event) call is caught here and sent to the remote distributer.
handle(Event) - Method in class grace.log.PrintHandler
 
handle(Event) - Method in class grace.log.FileHandler
The handle(Event) call is caught here so that the file size can be trimmed after the event is written.
handle(Event) - Method in interface grace.log.Handler
 
handle(Event) - Method in class grace.log.JDBCHandler
 
handle(Event) - Method in class grace.log.test.centralized.Receiver
 
handle(Event) - Method in class grace.log.test.performance.General
 
handle(Event) - Method in class grace.log.viewer.Application
 
handle(PrintWriter, Value) - Method in interface grace.io.PrintHandler
 
handle(PrintWriter, Value) - Method in class grace.io.handlers.java.util.Collection
 
Handler - interface grace.log.Handler.
This abstracts a logging facility.
HIGHLIGHT - Static variable in class grace.log.EventFormat
 
HostEntryPanel - class grace.log.viewer.HostEntryPanel.
 
HostEntryPanel(Application) - Constructor for class grace.log.viewer.HostEntryPanel
 
HostInfo - class grace.tools.HostInfo.
 
HostInfo() - Constructor for class grace.tools.HostInfo
 
HostPanel - class grace.log.viewer.HostPanel.
 
HostPanel(Application) - Constructor for class grace.log.viewer.HostPanel
 

I

i - Variable in class grace.log.test.performance.General.ToPrint
 
indent() - Method in class grace.io.JavaPrintWriter
 
indent() - Method in class grace.io.FormattedPrintWriter
 
initialize() - Method in class grace.log.Log
Initializes all of the elements of a Log/Distributer object.
initialize() - Method in class grace.log.viewer.Application
 
initialize() - Method in class grace.log.viewer.TablePanel
 
initializeFilters() - Method in class grace.log.Log
This loads the properties and sets up the filters for including and excluding functions and event types.
injectNewlines(int) - Method in class grace.util.Tokenizer
Useful if the source text should contain but doesn't.
insertUpdate(DocumentEvent) - Method in class grace.log.viewer.HostPanel
 
install() - Static method in class grace.log.PrintCatcher
Installs a PrintCatcher over the standard output and one over the standard error.
installErr() - Static method in class grace.log.PrintCatcher
Installs a new PrintCatcher on the standard err using Log.ERROR as the event type.
installErr(String) - Static method in class grace.log.PrintCatcher
Installs a new PrintCatcher on the standard err using the given event type.
installOut() - Static method in class grace.log.PrintCatcher
Installs a new PrintCatcher on the standard out using Log.NOTICE as the event type.
installOut(String) - Static method in class grace.log.PrintCatcher
Installs a new PrintCatcher on the standard out using the given event type.
integrateWithSystemProperties() - Method in class grace.util.Properties
If this set of properties is currently not a view of the System properties, then the System properties are loaded into this (just to make sure it doesn't wipe out any System properties), and the System properties are set to this collection.
internal(Exception) - Static method in class grace.log.Log
This function is a very simple way to output a log exceptions without using any of the log dispatching or handling.
internal(String) - Static method in class grace.log.Log
This function is a very simple way to output a log message without using any of the log dispatching or handling.
isAt(RE) - Method in class grace.util.Tokenizer
Indicates that the given regular expression will match the at current position.
isAt(String) - Method in class grace.util.Tokenizer
Indicates that the given regular expression will match the at current position.
isCellEditable(int, int) - Method in class grace.log.viewer.TableMap
 
isFirst - Variable in class grace.io.Value
 
isFirst() - Method in class grace.io.Value
 
isHoliday() - Method in class grace.util.Time
 
isLast - Variable in class grace.io.Value
 
isLast() - Method in class grace.io.Value
 
isPrimitive() - Method in class grace.io.Value
 
isPrimitive(boolean) - Method in class grace.io.Value
 
isStopped() - Method in class grace.util.Timer
 
isSubObject - Variable in class grace.io.Value
 
isSubObject() - Method in class grace.io.Value
 
isWeekday() - Method in class grace.util.Time
 
isWeekend() - Method in class grace.util.Time
 

J

JavaPrintWriter - class grace.io.JavaPrintWriter.
 
JavaPrintWriter(OutputStream) - Constructor for class grace.io.JavaPrintWriter
 
JavaPrintWriter(OutputStream, boolean) - Constructor for class grace.io.JavaPrintWriter
 
JavaPrintWriter(Writer) - Constructor for class grace.io.JavaPrintWriter
 
JavaPrintWriter(Writer, boolean) - Constructor for class grace.io.JavaPrintWriter
 
JavaPrintWriterTest - class grace.io.test.JavaPrintWriterTest.
 
JavaPrintWriterTest() - Constructor for class grace.io.test.JavaPrintWriterTest
 
JDBCHandler - class grace.log.JDBCHandler.
This handles events by writing them to a JDBC database.
JDBCHandler(String, String) - Constructor for class grace.log.JDBCHandler
 

L

LispPrintWriter - class grace.io.LispPrintWriter.
 
LispPrintWriter(OutputStream) - Constructor for class grace.io.LispPrintWriter
 
LispPrintWriter(OutputStream, boolean) - Constructor for class grace.io.LispPrintWriter
 
LispPrintWriter(Writer) - Constructor for class grace.io.LispPrintWriter
 
LispPrintWriter(Writer, boolean) - Constructor for class grace.io.LispPrintWriter
 
ListRegistry - class grace.tools.ListRegistry.
 
ListRegistry() - Constructor for class grace.tools.ListRegistry
 
load(Properties) - Method in class grace.util.Properties
Loads the given properties into this list by coping each property out of the given list and into this list.
load(Properties) - Method in class grace.util.Properties
Loads the given properties into this list by coping each property out of the given list and into this list.
loadFile(String) - Method in class grace.util.Properties
Reads properties from the given file into this list.
loadHomeFile(String) - Method in class grace.util.Properties
Reads properties from the given file into this list where the given file is assumed to be located in the user.home directory.
loadProperties(Properties) - Method in class grace.log.Log
Loads the given set of extraProperties without affecting the System properties or the original properties maintained by this Log.
loadProperties(String) - Method in class grace.log.PrintHandler
 
loadSystem() - Method in class grace.util.Properties
Loads a copy of the System properties (System.getProperties()) into this list.
Log - class grace.log.Log.
This implements a logging facility to allow the user to log programmatic context and data to various log devices such as System.out, a file, a GUI, etc.
Log() - Constructor for class grace.log.Log
Logs are constructed internally and usually should not be constructed by the normal user.
log(String, Object) - Static method in class grace.log.Log
Logs the given object marked with the given eventType.
log(String, String) - Static method in class grace.log.Log
Logs the given message marked with the given event type.
log(String, String, Object) - Static method in class grace.log.Log
Logs the given message and object marked with the given eventType.
logSomeMessages() - Method in class grace.log.test.GeneralTest
 
lookup(String) - Static method in class grace.util.Registry
This utility function searches for matches to a URL of the form: "rmi://hostname/regexp".
lookupFilterAndAddHandler(Handler, String) - Method in class grace.log.Log
This takes the given handler and handler name and looks up a list of events to which this handler should respond and then installs the handler.

M

main(String[]) - Static method in class grace.log.Log
This main acts as a little test program to test many of the features of the Log.
main(String[]) - Static method in class grace.log.FileHandler
 
main(String[]) - Static method in class grace.log.test.NumberedTypeTest
 
main(String[]) - Static method in class grace.log.test.GeneralTest
 
main(String[]) - Static method in class grace.log.test.StackTraceTest
 
main(String[]) - Static method in class grace.log.test.ObjectSelfReferenceTest
 
main(String[]) - Static method in class grace.log.test.PrintCatcherTest
 
main(String[]) - Static method in class grace.log.test.centralized.Receiver
 
main(String[]) - Static method in class grace.log.test.centralized.Sender
 
main(String[]) - Static method in class grace.log.test.centralized.Server
 
main(String[]) - Static method in class grace.log.test.handlers.jdbc.Test
 
main(String[]) - Static method in class grace.log.test.performance.General
 
main(String[]) - Static method in class grace.log.test.properties.PropertyLoadingTest
 
main(String[]) - Static method in class grace.log.viewer.Application
 
main(String[]) - Static method in class grace.util.Timer
 
main(String[]) - Static method in class grace.util.Tokenizer
Test program not quite completed.
main(String[]) - Static method in class grace.util.NameMap
 
main(String[]) - Static method in class grace.util.Registry
Simple test function
main(String[]) - Static method in class grace.io.test.JavaPrintWriterTest
 
main(String[]) - Static method in class grace.io.test.FormattedPrintWriterTest
 
main(String[]) - Static method in class grace.io.test.handlers.EnumerationTest
 
main(String[]) - Static method in class grace.tools.ListRegistry
 
main(String[]) - Static method in class grace.tools.HostInfo
 
merge(String, String) - Method in class grace.util.Time
 
mergedDateAndTime(Date, Date) - Static method in class grace.util.Time
This returns the merge of the given date and time such that the returned result has the given date but the given time.
model - Variable in class grace.log.viewer.TableMap
 

N

n2sort() - Method in class grace.log.viewer.TableSorter
 
name - Variable in class grace.io.Value
 
name - Variable in class grace.io.test.Passenger
 
NameMap - class grace.util.NameMap.
This class attempts to ease the process of converting identifiers that are difficult to read into a human readable form.
NameMap() - Constructor for class grace.util.NameMap
 
NameMap(String) - Constructor for class grace.util.NameMap
 
NameMap(String, String) - Constructor for class grace.util.NameMap
 
nameOf(Object) - Method in class grace.util.NameMap
This returns the human readable translation of the given key.
names() - Method in class grace.util.Properties
Allows interation over all of the names of properties held by this class.
names(RE) - Method in class grace.util.Properties
This returns a vector or names that match the given regular expression.
names(String) - Method in class grace.util.Properties
This returns a vector or properties names that match the given regular expression.
newlineAndIndent() - Method in class grace.io.JavaPrintWriter
 
newlineAndIndent() - Method in class grace.io.FormattedPrintWriter
 
newName(Object) - Method in class grace.util.NameMap
 
NO_COLOR - Static variable in class grace.log.EventFormat
 
NOTICE - Static variable in class grace.log.Log
Can be passed to log(type, ...) or to enableEvent(type) functions.
notice(String) - Static method in class grace.log.Log
This logs the indicated notice message text to the configured log device.
notice(String, Object) - Static method in class grace.log.Log
This logs the indicated notice message text and the given object to the configured log device.
noticesEnabled() - Static method in class grace.log.Log
 
NumberedTypeTest - class grace.log.test.NumberedTypeTest.
 
NumberedTypeTest() - Constructor for class grace.log.test.NumberedTypeTest
 

O

object - Variable in class grace.io.Value
 
ObjectSelfReferenceTest - class grace.log.test.ObjectSelfReferenceTest.
 
ObjectSelfReferenceTest() - Constructor for class grace.log.test.ObjectSelfReferenceTest
 
objectWasGiven() - Method in class grace.log.Event
 

P

parse(String) - Method in class grace.log.StackTrace
Breaks the given line into a class name, line number, function, etc.
parse(String, String) - Method in class grace.util.Time
 
partOfCallStack(char[]) - Method in class grace.log.Writer
 
partOfCallStack(String) - Method in class grace.log.Writer
 
Passenger - class grace.io.test.Passenger.
 
Passenger(String) - Constructor for class grace.io.test.Passenger
 
PLAIN - Static variable in class grace.log.EventFormat
 
prettyOutput() - Method in class grace.io.PrintWriter
 
print(boolean) - Method in class grace.log.Writer
 
print(boolean) - Method in class grace.log.PrintCatcher
 
print(char) - Method in class grace.log.Writer
 
print(char) - Method in class grace.log.PrintCatcher
 
print(char[]) - Method in class grace.log.Writer
 
print(char[]) - Method in class grace.log.PrintCatcher
 
print(double) - Method in class grace.log.PrintCatcher
 
print(Enumeration) - Method in class grace.io.PrintWriter
 
print(Exception) - Method in class grace.log.PrintCatcher
 
print(float) - Method in class grace.log.PrintCatcher
 
print(Hashtable) - Method in class grace.io.PrintWriter
 
print(int) - Method in class grace.log.PrintCatcher
 
print(long) - Method in class grace.log.PrintCatcher
 
print(Object) - Method in class grace.log.Writer
 
print(Object) - Method in class grace.log.PrintCatcher
 
print(Object[]) - Method in class grace.io.PrintWriter
 
print(PrintWriter.ResultSetRow) - Method in class grace.io.PrintWriter
 
print(ResultSet) - Method in class grace.io.PrintWriter
 
print(String) - Method in class grace.log.Writer
 
print(String) - Method in class grace.log.PrintCatcher
 
print(String, boolean) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, byte) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, char) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, double) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, float) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, int) - Method in class grace.log.PrintCatcher
 
print(String, int) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(String, Object) - Method in class grace.io.PrintWriter
This is the function a user should call to cause the named object to printed.
print(Vector) - Method in class grace.io.PrintWriter
 
printBeginBlock() - Method in class grace.io.FormattedPrintWriter
 
printBlocking(String) - Method in class grace.io.FormattedPrintWriter
This formats the blocking of the object - that is the beginning and ending of the text that surrounds an object.
PrintCatcher - class grace.log.PrintCatcher.
This class allows the user of JavaLog to use existing System.out.print statements in legacy code, but route the output of those statements through the JavaLog formatting system.
PrintCatcher() - Constructor for class grace.log.PrintCatcher
 
PrintCatcher(String) - Constructor for class grace.log.PrintCatcher
 
PrintCatcher(String, PrintStream) - Constructor for class grace.log.PrintCatcher
 
PrintCatcherTest - class grace.log.test.PrintCatcherTest.
 
PrintCatcherTest() - Constructor for class grace.log.test.PrintCatcherTest
 
printEndBlock() - Method in class grace.io.FormattedPrintWriter
 
printField(Value) - Method in class grace.io.PrintWriter
This meant to be overridden to provide a meaningful way to print the value of a field;
printField(Value) - Method in class grace.io.JavaPrintWriter
 
printField(Value) - Method in class grace.io.FormattedPrintWriter
This formats the object based on the fieldFormat string.
printField(Value) - Method in class grace.io.LispPrintWriter
 
PrintHandler - class grace.log.PrintHandler.
This class is a concrete Handler for the Log class that uses an internal java.io.PrintWriter to which to print each event.
PrintHandler - interface grace.io.PrintHandler.
 
PrintHandler(PrintStream) - Constructor for class grace.log.PrintHandler
 
PrintHandler(PrintWriter) - Constructor for class grace.log.PrintHandler
 
PrintHandler(String, String) - Constructor for class grace.log.PrintHandler
 
printInfo(String) - Static method in class grace.tools.HostInfo
 
printListElementValue(Object, int, int) - Method in class grace.io.PrintWriter
This method is not meant to be called by the general public.
println() - Method in class grace.log.Writer
 
println(boolean) - Method in class grace.log.Writer
 
println(boolean) - Method in class grace.log.PrintCatcher
 
println(char) - Method in class grace.log.Writer
 
println(char) - Method in class grace.log.PrintCatcher
 
println(char[]) - Method in class grace.log.Writer
 
println(char[]) - Method in class grace.log.PrintCatcher
 
println(double) - Method in class grace.log.PrintCatcher
 
println(float) - Method in class grace.log.PrintCatcher
 
println(int) - Method in class grace.log.PrintCatcher
 
println(long) - Method in class grace.log.PrintCatcher
 
println(Object) - Method in class grace.log.Writer
 
println(String) - Method in class grace.log.Writer
 
println(String) - Method in class grace.log.PrintCatcher
 
println(String, int) - Method in class grace.log.PrintCatcher
 
printName(Object) - Method in class grace.io.PrintWriter
This is called when the name of an object is printed.
printNullObject() - Method in class grace.io.PrintWriter
 
printNullObject() - Method in class grace.io.JavaPrintWriter
 
printNullObject() - Method in class grace.io.FormattedPrintWriter
 
printNullObject() - Method in class grace.io.LispPrintWriter
 
printNullString() - Method in class grace.io.PrintWriter
 
printNullString() - Method in class grace.io.JavaPrintWriter
 
printNullString() - Method in class grace.io.FormattedPrintWriter
 
printNullString() - Method in class grace.io.LispPrintWriter
 
printQuoted(String) - Method in class grace.io.PrintWriter
 
printTo(PrintWriter) - Method in class grace.util.Tokenizer
Used by grace.io.PrintWriter to nicely print this.
printTo(PrintWriter) - Method in class grace.io.Value
 
printType(Value, boolean, boolean) - Method in class grace.io.PrintWriter
Prints the type of the given object shortened to the rightmost name if desired.
printValue(Value) - Method in class grace.io.PrintWriter
This prints the given object in one of many ways.
printWithFieldAccessors(Value, Vector) - Method in class grace.io.PrintWriter
This uses the given Vector to print the fields of the given object using the printField function.
PrintWriter - class grace.io.PrintWriter.
This class is similar to the java.io.PrintWriter class except it intelligently prints objects as well as simple types.
PrintWriter(OutputStream) - Constructor for class grace.io.PrintWriter
 
PrintWriter(OutputStream, boolean) - Constructor for class grace.io.PrintWriter
 
PrintWriter(Writer) - Constructor for class grace.io.PrintWriter
 
PrintWriter(Writer, boolean) - Constructor for class grace.io.PrintWriter
 
Properties - class grace.util.Properties.
This class wraps and augments the behaviour of the java.util.Properties class.
Properties() - Constructor for class grace.util.Properties
A new empty list.
Properties(Properties) - Constructor for class grace.util.Properties
Constructs a property list that is a copy of the given list.
Properties(Properties) - Constructor for class grace.util.Properties
Constructs a property list that is a copy of the given list.
PropertyLoadingTest - class grace.log.test.properties.PropertyLoadingTest.
 
PropertyLoadingTest() - Constructor for class grace.log.test.properties.PropertyLoadingTest
 
ProxyHandler - class grace.log.ProxyHandler.
This forwards all log entries to the host and distributer given in the url property.
ProxyHandler(Distributer) - Constructor for class grace.log.ProxyHandler
This constructs initialized by properties.
PURPLE - Static variable in class grace.log.EventFormat
 
PURPLE_BACKGROUND - Static variable in class grace.log.EventFormat
 
put(Object) - Method in class grace.util.NameMap
 
put(String, String) - Method in class grace.util.Properties
Sets the value of the property referred to by name.

R

rcsid - Static variable in class grace.log.Writer
 
rcsid - Static variable in class grace.log.ProxyHandler
 
rcsid - Static variable in class grace.log.Log
 
rcsid - Static variable in class grace.log.PrintHandler
 
rcsid - Static variable in class grace.log.FileHandler
 
rcsid - Static variable in interface grace.log.Distributer
 
rcsid - Static variable in interface grace.log.Handler
 
rcsid - Static variable in class grace.log.StandardOutHandler
 
rcsid - Static variable in class grace.log.PrintCatcher
 
rcsid - Static variable in class grace.log.Event
 
rcsid - Static variable in class grace.log.EventFormat
 
rcsid - Static variable in class grace.log.StackTrace
 
reallocateIndexes() - Method in class grace.log.viewer.TableSorter
 
Receiver - class grace.log.test.centralized.Receiver.
This program looks on the given the host (via command line) for any grace.log.Distributers registered in the rmiregistry and installs proxy handlers.
Receiver() - Constructor for class grace.log.test.centralized.Receiver
 
RED - Static variable in class grace.log.EventFormat
 
RED_BACKGROUND - Static variable in class grace.log.EventFormat
 
referenceNameOf(Object) - Method in class grace.io.PrintWriter
 
Registry - class grace.util.Registry.
 
Registry() - Constructor for class grace.util.Registry
 
rememberAccessorsUsingFields(Class) - Static method in class grace.io.PrintWriter
This function tries to gain access to the fields of the object using reflection and creates a FieldAccessor for each field depending on if it can be accessed publicly or by a get method.
rememberAccessorsUsingGetMethods(Class) - Static method in class grace.io.PrintWriter
This reflects on the get functions of the given class, finds all of the get functions that look like follow the bean get pattern, and stores them as FieldAccessors in the classFieldAccessors.
rememberPrinted(Object) - Method in class grace.io.PrintWriter
This records the fact the given object has been printed in the PrintStream and should not be printed again, presumably.
removeHandler(Handler) - Method in class grace.log.Log
This removes the given handler from all of the handlers - allHandlers and eventHandlers.
removeHost(String) - Method in class grace.log.viewer.TreePanel
 
removeObjectFrom(Hashtable, Object) - Method in class grace.log.Log
This removes an object from a hashtable.
removeUpdate(DocumentEvent) - Method in class grace.log.viewer.HostPanel
 
replaceBadPunctuation(String) - Static method in class grace.log.Log
This returns a copy of the given string with all puntuation that is offensive to rmi URLs replaced by dots.
result() - Method in class grace.log.Writer
 
retreat(int) - Method in class grace.util.Tokenizer
Move the current position backward the given number of characters.
retreat(RE) - Method in class grace.util.Tokenizer
Retreats the current position in the source to the start of the given expression.
retreat(String) - Method in class grace.util.Tokenizer
Retreats the current position in the source to the start of the given expression.
rightmostName(String) - Static method in class grace.io.PrintWriter
This returns the rightmost name in a dot '.' separated list of names.
run() - Method in class grace.log.test.NumberedTypeTest
 
run() - Method in class grace.log.test.GeneralTest
 
run() - Method in class grace.log.test.StackTraceTest
 
run() - Method in class grace.log.test.ObjectSelfReferenceTest
 
run() - Method in class grace.log.test.PrintCatcherTest
 
run() - Method in class grace.log.test.centralized.Receiver
 
run() - Method in class grace.log.test.handlers.jdbc.Test
 
run() - Method in class grace.log.test.properties.PropertyLoadingTest
 
run() - Method in class grace.io.test.FormattedPrintWriterTest
 
run() - Method in class grace.io.test.handlers.EnumerationTest
 

S

s - Variable in class grace.log.test.performance.General.ToPrint
 
segregateFromSystemProperties() - Method in class grace.util.Properties
If this set of properties is currently a view of the System properties, then a new interal property collection is created and the System properties are copied into the newly created collection.
self - Variable in class grace.log.test.performance.General.ToPrint
 
Sender - class grace.log.test.centralized.Sender.
This program looks on the given the host (via command line) for any grace.log.Distributers registered in the rmiregistry and installs proxy handlers.
Sender() - Constructor for class grace.log.test.centralized.Sender
 
separateListItems() - Method in class grace.io.FormattedPrintWriter
 
separateNameAndValue() - Method in class grace.io.JavaPrintWriter
 
separateObjectItems() - Method in class grace.io.JavaPrintWriter
 
separateObjectItems() - Method in class grace.io.FormattedPrintWriter
 
separateTypeAndName() - Method in class grace.io.JavaPrintWriter
 
Server - class grace.log.test.centralized.Server.
This implements a very simple log server.
Server() - Constructor for class grace.log.test.centralized.Server
 
set(Properties) - Method in class grace.util.Properties
Sets the list of the properties maintained by this class.
setApplet(Applet) - Static method in class grace.util.Properties
Remembers the given applet such that all subsequent get() functions on this class will query the applet for a named parameter using the Applet.getParameter(String) call.
setBeginBlockFormat(String) - Method in class grace.io.FormattedPrintWriter
 
setBufferedPrints(boolean) - Method in class grace.log.PrintCatcher
 
setClassname(String) - Method in class grace.log.StackTrace
 
setClassnameColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted classname.
setDateFormat(DateFormat) - Method in class grace.io.PrintWriter
Sets the DateFormat used for printing all dates.
setDesiredLineNum(int) - Method in class grace.log.Writer
 
setEndBlockFormat(String) - Method in class grace.io.FormattedPrintWriter
 
setEventColor(String, String) - Method in class grace.log.EventFormat
Sets color used to print the given event string in each log line.
setEventTypesToExclude(String) - Method in class grace.log.Log
Sets the given space separated list of regular expressions that will act as filters to exclude event types in the logging output.
setEventTypesToInclude(String) - Method in class grace.log.Log
Sets the given space separated list of regular expressions that will act as filters to include event types in the logging output.
setExceptionColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted exception.
setExceptionFormat(String) - Method in class grace.log.EventFormat
 
setFieldFormat(String) - Method in class grace.io.FormattedPrintWriter
 
setFormat(String) - Method in class grace.io.FormattedPrintWriter
Uses the bar character to separate the beginBlock, field, and endBlock formats.
setFormat(String, String, String, String) - Method in class grace.io.FormattedPrintWriter
Sets the 4 parts of the format.
setFunctionColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted function.
setFunctionNamesToExclude(String) - Method in class grace.log.Log
Sets the given space separated list of regular expressions that will act as filters to exclude functions in the logging output.
setFunctionNamesToInclude(String) - Method in class grace.log.Log
Sets the given space separated list of regular expressions that will act as filters to include functions in the logging output.
setHeaderFormat(String) - Method in class grace.io.FormattedPrintWriter
 
setHostname(String) - Method in class grace.log.Event
 
setIsFirst(boolean) - Method in class grace.io.Value
 
setIsLast(boolean) - Method in class grace.io.Value
 
setIsSubObject(boolean) - Method in class grace.io.Value
 
setLevel(int) - Method in class grace.log.StackTrace
Sets the desired depth of in a stack trace that properly indicates the callers level in the stack trace.
setLineColor(String, String) - Method in class grace.log.EventFormat
Sets color used to print an entire log line whose event type is the given event string.
setMessage(String) - Method in class grace.log.Event
 
setMessageColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted message.
setMessageFormat(String) - Method in class grace.log.EventFormat
 
setModel(TableModel) - Method in class grace.log.viewer.TableMap
 
setModel(TableModel) - Method in class grace.log.viewer.TableSorter
 
setName(String) - Method in class grace.log.Log
This overrides the default use of the VMID and sets the name of this log.
setName(String) - Method in interface grace.log.Distributer
 
setName(String) - Method in class grace.io.Value
 
setObject(Object) - Method in class grace.log.Event
 
setObject(Object) - Method in class grace.io.Value
 
setObjectClass(Class) - Method in class grace.io.Value
 
setObjectColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted object.
setObjectFormat(String) - Method in class grace.log.EventFormat
 
setObjectTimeFormat(DateFormat) - Method in class grace.log.EventFormat
 
setOut(PrintStream) - Method in class grace.log.PrintHandler
 
setOut(PrintWriter) - Method in class grace.log.PrintHandler
 
setPosition(int) - Method in class grace.util.Tokenizer
Set the index of current position in the source.
setPosition(StackTrace) - Method in class grace.log.Event
 
setPrefix(String) - Method in class grace.util.NameMap
 
setPrettyOutput(boolean) - Method in class grace.io.PrintWriter
 
setPrintObjectsOnlyOnce(boolean) - Method in class grace.io.PrintWriter
 
setRelativeTimeColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted relative time.
setRelativeTimeFormat(String) - Method in class grace.log.EventFormat
 
setSystemProperties() - Method in class grace.util.Properties
This sets the System properties to the set managed by this class.
setThreadColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted thread.
setThreadFormat(String) - Method in class grace.log.EventFormat
 
setTimeColor(String) - Method in class grace.log.EventFormat
Sets the color of the formatted time.
setTimeFormat(DateFormat) - Method in class grace.log.EventFormat
 
setTimeStuff(PrintWriter, String, String) - Method in class grace.io.test.FormattedPrintWriterTest
 
setValueAt(Object, int, int) - Method in class grace.log.viewer.TableMap
 
setValueAt(Object, int, int) - Method in class grace.log.viewer.TableSorter
 
setVirtualMachineName(String) - Method in class grace.log.Event
 
shortenedTypeName(Class, boolean) - Static method in class grace.io.PrintWriter
This returns the abreviated name of the given class.
shuttlesort(int[], int[], int, int) - Method in class grace.log.viewer.TableSorter
 
skipWhiteSpace() - Method in class grace.util.Tokenizer
Moves the current position to the next character in the source that is not white as determined by java.lang.Character.isWhitespace().
sort(Object) - Method in class grace.log.viewer.TableSorter
 
sortByColumn(int) - Method in class grace.log.viewer.TableSorter
 
sortByColumn(int, boolean) - Method in class grace.log.viewer.TableSorter
 
StackTrace - class grace.log.StackTrace.
This class encapsulates the functionality to parse a string containing a stack trace and produce the individual attributes of the stack trace.
StackTrace() - Constructor for class grace.log.StackTrace
 
StackTrace(Exception) - Constructor for class grace.log.StackTrace
 
StackTrace(Exception, int) - Constructor for class grace.log.StackTrace
 
StackTrace(int) - Constructor for class grace.log.StackTrace
 
StackTraceTest - class grace.log.test.StackTraceTest.
 
StackTraceTest() - Constructor for class grace.log.test.StackTraceTest
 
StandardOutHandler - class grace.log.StandardOutHandler.
This class simply redirects the PrintHandler to print to the standard output.
StandardOutHandler() - Constructor for class grace.log.StandardOutHandler
This constructs a FileHandler that does not read any properties and begins printing to the standard output.
StandardOutHandler(String, String) - Constructor for class grace.log.StandardOutHandler
This constructs a FileHandler that reads properties based on the given name and begins printing to the standard output.
start() - Method in class grace.util.Timer
 
stop() - Method in class grace.util.Timer
 
subset(RE) - Method in class grace.util.Properties
Returns a subset of this Properties list narrowed by the given regular expression.
subset(RE, String) - Method in class grace.util.Properties
Returns a subset of this Properties list narrowed by the given regular expression but with the names substituted with the given nameSubstitution.
subset(String) - Method in class grace.util.Properties
Returns a subset of this Properties list narrowed by the given regular expression.
subset(String, String) - Method in class grace.util.Properties
 
swap(int, int) - Method in class grace.log.viewer.TableSorter
 

T

tableChanged(TableModelEvent) - Method in class grace.log.viewer.TableMap
 
tableChanged(TableModelEvent) - Method in class grace.log.viewer.TableSorter
 
TableMap - class grace.log.viewer.TableMap.
 
TableMap() - Constructor for class grace.log.viewer.TableMap
 
TablePanel - class grace.log.viewer.TablePanel.
 
TablePanel(Application) - Constructor for class grace.log.viewer.TablePanel
 
TableSorter - class grace.log.viewer.TableSorter.
 
TableSorter() - Constructor for class grace.log.viewer.TableSorter
 
TableSorter(TableModel) - Constructor for class grace.log.viewer.TableSorter
 
Test - class grace.log.test.handlers.jdbc.Test.
This tests the JDBCHandler.
Test() - Constructor for class grace.log.test.handlers.jdbc.Test
 
testFunction() - Static method in class grace.log.test.GeneralTest
 
testNullPointerException() - Static method in class grace.log.test.GeneralTest
 
testThrow(Class) - Method in class grace.log.test.StackTraceTest
 
testThrowFunction() - Static method in class grace.log.test.GeneralTest
 
Time - class grace.util.Time.
Currently, this class only implements static utility functions that the lame java.util.Date and Calendar classes do not implement.
Time() - Constructor for class grace.util.Time
 
Time(Date) - Constructor for class grace.util.Time
 
Timer - class grace.util.Timer.
This is a simple, general purpose timer useful for finding the duration of time between a sequence of start and stop events.
Timer() - Constructor for class grace.util.Timer
 
Timer(Timer) - Constructor for class grace.util.Timer
 
Tokenizer - class grace.util.Tokenizer.
Performs data scanning, gathering, and conversion functions on text.
Tokenizer(String) - Constructor for class grace.util.Tokenizer
 
toPrintable(String) - Method in class grace.util.Tokenizer
Utility function to convert strings that have embedded non printable characters such as newlines and tabs, and returns a string that may be cleanly printed.
toString() - Method in class grace.log.Writer
 
toString() - Method in class grace.log.StackTrace
 
toString() - Method in class grace.log.test.ObjectSelfReferenceTest
 
toString() - Method in class grace.util.Timer
 
toString() - Method in class grace.util.Tokenizer
 
toString() - Method in class grace.util.NameMap
 
toString() - Method in class grace.util.Properties
Formats all of the properties as a String.
toString() - Method in class grace.io.Value
 
TRACE - Static variable in class grace.log.Log
Can be passed to log(type, ...) or to enableEvent(type) functions.
trace() - Static method in class grace.log.Log
This function makes an entry in the log device that indicates the programtic position of the caller.
trace(Object) - Static method in class grace.log.Log
This function writes the given object in the log device and makes an entry in the log device that indicates the programtic position of the caller.
trace(String) - Static method in class grace.log.Log
This function writes the given message in the log device and makes an entry in the log device that indicates the programtic position of the caller.
trace(String, Object) - Static method in class grace.log.Log
This function writes the given message and object in the log device and makes an entry in the log device that indicates the programtic position of the caller.
tracesEnabled() - Static method in class grace.log.Log
 
TreePanel - class grace.log.viewer.TreePanel.
 
TreePanel(Application) - Constructor for class grace.log.viewer.TreePanel
 

U

UNDERLINE - Static variable in class grace.log.EventFormat
 
undoLast() - Method in class grace.util.Tokenizer
This moves the current position to the position before the previous function was called.
uninstall() - Static method in class grace.log.PrintCatcher
Replaces any PrintCatchers previously installed as the standard output and standard error with original standard out and error.
useColors(boolean) - Method in class grace.log.EventFormat
 

V

Value - class grace.io.Value.
This encapsulates the context and value of a call to one of the print functions.
Value(String, Object, boolean) - Constructor for class grace.io.Value
 
values() - Method in class grace.util.Properties
Allows interation over all of the values of properties held by this class.
virtualMachineId() - Method in class grace.log.Log
Returns the virtual machine id as determined by java.rmi.dgc.VMID but with all of the colons replaced by dots.

W

WARNING - Static variable in class grace.log.Log
Can be passed to log(type, ...) or to enableEvent(type) functions.
warning(String) - Static method in class grace.log.Log
This logs the indicated warning message text to the configured log device.
warning(String, Exception) - Static method in class grace.log.Log
This logs the indicated warning message text and give exception to the configured log device.
warning(String, Object) - Static method in class grace.log.Log
This logs the indicated warning message text and object to the configured log device.
warningsEnabled() - Static method in class grace.log.Log
 
WHITE - Static variable in class grace.log.EventFormat
 
WHITE_BACKGROUND - Static variable in class grace.log.EventFormat
 
write(char[]) - Method in class grace.log.Writer
 
write(char[], int, int) - Method in class grace.log.Writer
 
write(String) - Method in class grace.log.Writer
 
write(String, int, int) - Method in class grace.log.Writer
 
Writer - class grace.log.Writer.
This class is a hack to allow the Handler class to break up a stack trace into each function call so that only the top most function can be displayed in the log.
Writer() - Constructor for class grace.log.Writer
 

Y

YELLOW - Static variable in class grace.log.EventFormat
 
YELLOW_BACKGROUND - Static variable in class grace.log.EventFormat
 

Z

zero() - Method in class grace.util.Timer
 

A B C D E F G H I J L M N O P R S T U V W Y Z