org.xwt
Class Main

java.lang.Object
  extended byorg.xwt.Main

public class Main
extends java.lang.Object

Entry point for the XWT Engine; handles splash screen, initial xwar loading, and argument processing


Field Summary
static Res builtin
           
static java.lang.String origin
           
static java.net.InetAddress originAddr
          FEATURE: this should be implemented using self-emulation Used for security checks.
static java.lang.String originHost
           
static Picture scarImage
           
 
Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          common entry point
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originAddr

public static java.net.InetAddress originAddr
FEATURE: this should be implemented using self-emulation Used for security checks. If this is null, it means that only scripts originating from the local filesystem are loaded in the engine (maximum permissions). If scripts have been loaded from multiple locations, this will be 0.0.0.0 (the invalid IP).


originHost

public static java.lang.String originHost

origin

public static java.lang.String origin

builtin

public static final Res builtin

scarImage

public static Picture scarImage
Constructor Detail

Main

public Main()
Method Detail

printUsage

public static void printUsage()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
common entry point

Throws:
java.lang.Exception