org.objectweb.telosys.util
Class ObjUtil

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

public class ObjUtil
extends java.lang.Object


Constructor Summary
ObjUtil()
           
 
Method Summary
static java.lang.Object createObjectInstance(java.lang.String sClassName)
          Creates an instance of the given class name
static java.lang.String format(java.lang.Object oValue, java.lang.String sFormat)
          Formats an object to produce a string
static java.lang.String format(java.lang.Object oValue, java.lang.String sFormat, java.lang.String sLanguage)
          Formats an object to produce a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjUtil

public ObjUtil()
Method Detail

createObjectInstance

public static java.lang.Object createObjectInstance(java.lang.String sClassName)
Creates an instance of the given class name

Parameters:
sClassName -
Returns:

format

public static java.lang.String format(java.lang.Object oValue,
                                      java.lang.String sFormat)
Formats an object to produce a string

Parameters:
oValue -
sFormat -
Returns:

format

public static java.lang.String format(java.lang.Object oValue,
                                      java.lang.String sFormat,
                                      java.lang.String sLanguage)
Formats an object to produce a string

Parameters:
oValue -
sFormat -
sLanguage - : Locale language to use for numbers formatting ( eg "fr" )
Returns: