cli
Class HsqldbServerCmd

java.lang.Object
  extended by cli.AbstractCmdLine
      extended by cli.HsqldbServerCmd

public class HsqldbServerCmd
extends AbstractCmdLine

The command extract a database into a given directory or compress a database into a given file.

Since:
20 oct. 2009 version 2.1.1
Version:
2.1.1
Author:
Arnaud Malapert

Field Summary
protected  File dbDir
           
protected  String dbName
           
protected  boolean noServer
           
protected  File odb
           
protected  File target
           
protected  boolean verbose
           
 
Fields inherited from class cli.AbstractCmdLine
arguments, CMD, hasExtraArgument, LOGGER, NONE, parser
 
Constructor Summary
HsqldbServerCmd()
           
 
Method Summary
protected  void checkData()
          check the validity of the command line
protected  void displayConnectionUrls()
           
protected  void execute()
           
 void help()
           
static void main(String[] args)
           
protected  org.hsqldb.Server startHsqldbServer()
           
 
Methods inherited from class cli.AbstractCmdLine
doMain, exitOnException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbDir

protected File dbDir

dbName

protected String dbName

target

protected File target

odb

protected File odb

noServer

protected boolean noServer

verbose

protected boolean verbose
Constructor Detail

HsqldbServerCmd

public HsqldbServerCmd()
Method Detail

help

public void help()
Overrides:
help in class AbstractCmdLine

checkData

protected void checkData()
                  throws org.kohsuke.args4j.CmdLineException
Description copied from class: AbstractCmdLine
check the validity of the command line

Specified by:
checkData in class AbstractCmdLine
Throws:
org.kohsuke.args4j.CmdLineException

displayConnectionUrls

protected void displayConnectionUrls()

startHsqldbServer

protected org.hsqldb.Server startHsqldbServer()

execute

protected void execute()
Specified by:
execute in class AbstractCmdLine

main

public static void main(String[] args)


Copyright © 2012. All Rights Reserved.