Package com.netfever.site.dynovisz.tools.api

Examples of com.netfever.site.dynovisz.tools.api.RootApp


    if (args.length == 0) {
      app.printHelp();
      return;
    }   
   
    final RootApp cmd = app.getRootApp(args[0]);
   
    if (cmd == null) {
      LOGGER.info("no option selected. try -h option.");
      return;
    }
   
    LOGGER.info("Starting application at " + (new Date()).toString());
    final String[] subArgs = new String[args.length - 1];

    if (subArgs.length > 0) {
      System.arraycopy(args, 1, subArgs, 0, subArgs.length)
    }
   
    if (!cmd.init(subArgs)) {
      return;
    }   
   
    cmd.run();
    LOGGER.info("Finished at " + (new Date()).toString());
  }
View Full Code Here

TOP

Related Classes of com.netfever.site.dynovisz.tools.api.RootApp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.