com.sleepycat.je.util
Class DbDump
java.lang.Object
com.sleepycat.je.util.DbDump
- Direct Known Subclasses:
- DbScavenger
public class DbDump
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
envHome
protected File envHome
env
protected Environment env
dbName
protected String dbName
formatUsingPrintable
protected boolean formatUsingPrintable
outputFile
protected PrintStream outputFile
doScavengerRun
protected boolean doScavengerRun
doAggressiveScavengerRun
protected boolean doAggressiveScavengerRun
verbose
protected boolean verbose
DbDump
public DbDump(Environment env,
String dbName,
PrintStream outputFile,
boolean formatUsingPrintable)
main
public static void main(String[] argv)
throws DatabaseException,
IOException
- Throws:
DatabaseException
IOException
printUsage
protected void printUsage(String msg)
parseArgs
protected boolean parseArgs(String[] argv)
throws IOException
- Throws:
IOException
openEnv
protected void openEnv(boolean doRecovery)
throws DatabaseException
- Throws:
DatabaseException
dump
public void dump()
throws IOException,
DatabaseException
- Throws:
IOException
DatabaseException
printHeader
protected void printHeader(PrintStream o,
boolean dupSort,
boolean formatUsingPrintable)
dumpOne
protected void dumpOne(PrintStream o,
byte[] ba,
boolean formatUsingPrintable)
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.