org.rapla
Class Main

java.lang.Object
  extended by org.rapla.Main

public final class Main
extends Object

This class is used to start rapla from the command-line.

 Usage :
 [-?|-c PATH_TO_CONFIG_FILE] [ACTION]
 Possible actions:
 rapla   : Starts the rapla-gui (this is the default)
 client  : Starts the rapla-gui in client/server mode
 
You can also display the list with the -? argument.


Field Summary
static String DEFAULT_CLIENT_CONFIG_NAME
          The default config filename for client-mode raplaclient.xconf
static String DEFAULT_CONFIG_NAME
          The default config filename for standalone-mode is rapla.xconf
static String DEFAULT_SERVER_CONFIG_NAME
           
static String USAGE
           
 
Method Summary
static void main(String[] args)
          This is the entry point for the client-application.
 void startExport()
          Read the data out of the dest-operator and write it into the source operator.
 void startImport()
          Read the data out of the source-operator and write it into the dest operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_NAME

public static final String DEFAULT_CONFIG_NAME
The default config filename for standalone-mode is rapla.xconf

See Also:
Constant Field Values

DEFAULT_CLIENT_CONFIG_NAME

public static final String DEFAULT_CLIENT_CONFIG_NAME
The default config filename for client-mode raplaclient.xconf

See Also:
Constant Field Values

DEFAULT_SERVER_CONFIG_NAME

public static final String DEFAULT_SERVER_CONFIG_NAME
See Also:
Constant Field Values

USAGE

public static final String USAGE
Method Detail

startExport

public void startExport()
                 throws Exception
Read the data out of the dest-operator and write it into the source operator. The necessary properties should be specified in the config-file.

Throws:
Exception

startImport

public void startImport()
                 throws Exception
Read the data out of the source-operator and write it into the dest operator. The necessary properties should be specified in the config-file.

Throws:
Exception

main

public static void main(String[] args)
This is the entry point for the client-application. For a complete list of the arguments see the description of this class.



Copyright © 2000-2006 Rapla Team. All Rights Reseserved.