org.objectweb.telosys.util
Class MapUtil

java.lang.Object
  extended byorg.objectweb.telosys.util.MapUtil

public class MapUtil
extends java.lang.Object


Constructor Summary
MapUtil()
           
 
Method Summary
static int getInt(java.util.Map map, java.lang.String sParamName)
          Returns the int value of the given parameter name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapUtil

public MapUtil()
Method Detail

getInt

public static int getInt(java.util.Map map,
                         java.lang.String sParamName)
                  throws TelosysException
Returns the int value of the given parameter name

Parameters:
map - : the map
sParamName - : the parameter name
Returns:
: the value found
Throws:
TelosysException - if the parameter is unknown or if arguments are invalid