as.clynx.util
Class StartUpValues

java.lang.Object
  extended by as.clynx.util.StartUpValues

public class StartUpValues
extends java.lang.Object

The class StartUpValues.java loads all defined parameter for the gui. the parameter must be defined in a propertyfile.

Version:
cLynx v.1.2, JDK 6.0: 28.11.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
StartUpValues()
          Constructor
 
Method Summary
 java.lang.String get(java.lang.String props)
          returns the value of the passed key.
static java.lang.Double getDouble(java.lang.String props)
          returns the value in double value.
static java.lang.Integer getInt(java.lang.String props)
          returns the value in integer value.
static java.lang.String getString(java.lang.String props)
          returns the value in String value.
static void load()
          loads the Parameterfile.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartUpValues

public StartUpValues()
              throws StartUpException
Constructor

Throws:
StartUpException
Method Detail

get

public java.lang.String get(java.lang.String props)
returns the value of the passed key.

Parameters:
props -
Returns:
the value of the passed key.

load

public static void load()
                 throws StartUpException
loads the Parameterfile.

Throws:
StartUpException

getInt

public static java.lang.Integer getInt(java.lang.String props)
returns the value in integer value.

Parameters:
props -
Returns:
the value in integer value.

getDouble

public static java.lang.Double getDouble(java.lang.String props)
returns the value in double value.

Parameters:
props -
Returns:
the value in double value.

getString

public static java.lang.String getString(java.lang.String props)
returns the value in String value.

Parameters:
props -
Returns:
the value in String value.