venice
Class Application

java.lang.Object
  |
  +--venice.Application

public class Application
extends java.lang.Object

Application class is the class that should be instantiated when Venice is to be used in application form. It creates an AppModule instance and loads a model, if one was specified from the command line.


Constructor Summary
Application()
           
 
Method Summary
static void main(java.lang.String[] args)
          This method creates a new instance of AppModule not in Applet mode.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Application

public Application()
Method Detail

main

public static void main(java.lang.String[] args)
This method creates a new instance of AppModule not in Applet mode.

It can be given a parameter at startup. The parameter is the name of the model to load at startup. If the file name begins with a "http://" it is assumed to be an URL. If the file name ends with a ".venice" the file is assumed to be a Venice package.