Jacson

de.spieleck.config
Class ConvertHelp

java.lang.Object
  extended byde.spieleck.config.ConvertHelp

public class ConvertHelp
extends java.lang.Object

Helperclass for type conversions. Could be a wrapper do * org.apache.commons.beanutils.converters.

Author:
fsn

Method Summary
static boolean getBoolean(ConfigNode node, boolean deflt)
           
static boolean getBoolean(java.lang.String value)
           
static double getDouble(ConfigNode node, double deflt)
           
static double getDouble(java.lang.String value)
           
static int getInt(ConfigNode node, int deflt)
           
static int getInt(java.lang.String value)
           
static java.lang.String getString(ConfigNode node, java.lang.String deflt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBoolean

public static boolean getBoolean(java.lang.String value)

getBoolean

public static boolean getBoolean(ConfigNode node,
                                 boolean deflt)

getInt

public static int getInt(java.lang.String value)

getInt

public static int getInt(ConfigNode node,
                         int deflt)

getDouble

public static double getDouble(java.lang.String value)

getDouble

public static double getDouble(ConfigNode node,
                               double deflt)

getString

public static java.lang.String getString(ConfigNode node,
                                         java.lang.String deflt)

Spieleck

Copyleft 2002 spieleck.de.