org.apache.zookeeper.server
Class SnapshotFormatter

java.lang.Object
  extended by org.apache.zookeeper.server.SnapshotFormatter

public class SnapshotFormatter
extends Object

Dump a snapshot file to stdout.


Constructor Summary
SnapshotFormatter()
           
 
Method Summary
static void main(String[] args)
          USAGE: SnapshotFormatter snapshot_file
 void run(String snapshotFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotFormatter

public SnapshotFormatter()
Method Detail

main

public static void main(String[] args)
                 throws Exception
USAGE: SnapshotFormatter snapshot_file

Throws:
Exception

run

public void run(String snapshotFileName)
         throws IOException
Throws:
IOException


Copyright © 2013 The Apache Software Foundation