Class Player

java.lang.Object
org.h2.test.trace.Player

public class Player extends Object
This tool can re-run Java style log files. There is no size limit.
  • Constructor Details

    • Player

      public Player()
  • Method Details

    • main

      public 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
      Throws:
      IOException
    • execute

      public static void execute(String fileName, boolean trace) throws IOException
      Execute a trace file.
      Parameters:
      fileName - the file name
      trace - print debug information
      Throws:
      IOException