Player
This tool can re-run Java style log files. There is no size limit.
Methods
static void
execute
(String fileName, boolean trace)
Execute a trace file.
static void
execute
(String fileName, boolean trace) throws IOException
Execute a trace file.
Parameters:
fileName - the file name
trace - print debug information
static Class
getClass
(String className)
Get the class for the given class name.
static Class
getClass
(String className)
Get the class for the given class name. Only a limited set of classes is supported.
Parameters:
className - the class name
Returns:
the class
static void
main
(String... args)
Execute a trace file using the command line.
static void
main
(String... args) throws IOException
Execute a trace file using the command line. The log file name to execute (replayed) must be specified as the last parameter. The following optional command line parameters are supported:
-log
to enable logging the executed statement to System.out
Parameters:
args - the arguments of the application
void
assign
(String variableName, Object obj)
Assign an object to a variable.
void
assign
(String variableName, Object obj)
Assign an object to a variable.
Parameters:
variableName - the variable name
obj - the object
Object
getObject
(String name)
Get an object.
Object
getObject
(String name)
Get an object.
Parameters:
name - the variable name
Returns:
the object
void
trace
(String s)
Write trace information if trace is enabled.
void
trace
(String s)
Write trace information if trace is enabled.
Parameters:
s - the message to write