org.h2.mvstore
Class MVStoreTool

java.lang.Object
  extended by org.h2.mvstore.MVStoreTool

public class MVStoreTool
extends java.lang.Object

Utility methods used in combination with the MVStore.


Constructor Summary
MVStoreTool()
           
 
Method Summary
static void dump(java.lang.String fileName, java.io.PrintWriter writer)
          Read the contents of the file and display them in a human-readable format.
static void main(java.lang.String... args)
          Runs this tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVStoreTool

public MVStoreTool()
Method Detail

main

public static void main(java.lang.String... args)
                 throws java.io.IOException
Runs this tool. Options are case sensitive. Supported options are:
[-dump <dir>] Dump the contends of the file

Parameters:
args - the command line arguments
Throws:
java.io.IOException

dump

public static void dump(java.lang.String fileName,
                        java.io.PrintWriter writer)
                 throws java.io.IOException
Read the contents of the file and display them in a human-readable format.

Parameters:
fileName - the name of the file
writer - the print writer
Throws:
java.io.IOException