Class CmdlineStarter

java.lang.Object
de.hsh.graja.starter.CmdlineStarter

@Deprecated public class CmdlineStarter extends Object
Deprecated.

This class starts Graja in a separate JVM. It expects three parameters on the command line.

The exit code of this programm will be 0, if we could write a result file (which could contain error messages as well as success messages), otherwise it is 1.

Error messages will get localized by the default locale.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Deprecated.
    The main method expects three parameters: A format specification: xml or json The path to the request file The path to the generated result file

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CmdlineStarter

      public CmdlineStarter()
      Deprecated.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Deprecated.
      The main method expects three parameters:
      • A format specification: xml or json
      • The path to the request file
      • The path to the generated result file
      Parameters:
      args - three arguments
      Throws:
      Exception