Class f_resourceBundle

Object
  extended by f_resourceBundle

public final class f_resourceBundle
extends Object


Method Summary
static void Define(String name, Object values)
           
static void Define2(String name, Object values)
           
static f_resourceBundle Get(String name)
           
 Object f_format(String key, any... params)
          Search a value associated to a property.
 Object f_formatParams(String key, any[] params, any defaultValue)
          Search a value associated to a property.
 Object f_get(String key, String defaultValue)
          Search a value associated to a property.
 String toString()
          Returns a string representing the specified object.
 
Methods inherited from class Object
toString
 

Method Detail

Define2

public static final void Define2(String name,
                                 Object values)
Parameters:
name - Name of resourceBundle. (can be a f_class !)
values -

f_formatParams

public Object f_formatParams(String key,
                             any[] params,
                             any defaultValue)
Search a value associated to a property.

Parameters:
key - Key of property.
params - Parameters which will be formatted into the string associated to the key. The Nth element in the array will replace the '{n}' substring. (First element: {0}; Second element {1} ...)

f_format

public Object f_format(String key,
                       any... params)
Search a value associated to a property.

Parameters:
key - Key of property.
params - Parameters which will be formatted into the string associated to the key. The Nth parameter will replace the '{n}' substring. (First parameter: {0}; Second parameter {1} ...)

toString

public String toString()
Description copied from class: Object
Returns a string representing the specified object.

Overrides:
toString in class Object

Define

public static final void Define(String name,
                                Object values)
Parameters:
name - Name of resourceBundle. (can be a f_class !)
values -

Get

public static final f_resourceBundle Get(String name)
Parameters:
name - Name of resourceBundle. (can be a f_class !)

f_get

public Object f_get(String key,
                    String defaultValue)
Search a value associated to a property.

Parameters:
key - Key of property.
defaultValue - Default value if key is not found.