cad.simcad.pathfinding.run
Class Run

java.lang.Object
  |
  +--cad.simcad.pathfinding.run.Run

public class Run
extends java.lang.Object

Main Class

Version:
1.0
Author:
Charles-Philip Bentley

Constructor Summary
Run()
          Creates new Run
 
Method Summary
static void exit()
          Exit the Application
static AlgoProperties getAlgoProperties()
          Get the properties.
static int getDebugLevel()
           
static AbstractMap getMap()
           
static java.util.Properties getProperties()
          Get the properties.
static java.lang.String getProperty(java.lang.String key)
          Forward to the internal properties object.
static void main(java.lang.String[] arg)
          This method does the following in order 1) Check for Algo Properties, load them if any 2) Check for application specific properties, load them if any 3) load last world if inaccessible load a default empty world. 4) create the UI, give SimMediator to it.
static void saveAlgoProperties()
          Save the properties.
static void saveDebugLevel(int i)
           
static void saveProperties()
          Save the properties.
static void setProperty(java.lang.String key, java.lang.String value)
          Shortcut for getProperties().put.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run

public Run()
Creates new Run

Method Detail

main

public static void main(java.lang.String[] arg)
This method does the following in order 1) Check for Algo Properties, load them if any 2) Check for application specific properties, load them if any 3) load last world if inaccessible load a default empty world. 4) create the UI, give SimMediator to it.


getDebugLevel

public static int getDebugLevel()

saveDebugLevel

public static void saveDebugLevel(int i)

getMap

public static AbstractMap getMap()

exit

public static void exit()
Exit the Application


getAlgoProperties

public static AlgoProperties getAlgoProperties()
Get the properties.


getProperties

public static java.util.Properties getProperties()
Get the properties.


getProperty

public static java.lang.String getProperty(java.lang.String key)
Forward to the internal properties object. Use this instead of ReeRun.getProperties().getProperty(key).


setProperty

public static void setProperty(java.lang.String key,
                               java.lang.String value)
Shortcut for getProperties().put.


saveAlgoProperties

public static void saveAlgoProperties()
                               throws java.io.IOException
Save the properties.

Throws:
java.io.IOException - I/O error in writing to file

saveProperties

public static void saveProperties()
                           throws java.io.IOException
Save the properties.

Throws:
java.io.IOException - I/O error in writing to file

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be