ewex.registry
Class RegistryLocalResource

java.lang.Object
  extended byewex.registry.RegistryLocalResource
All Implemented Interfaces:
LocalResource

public class RegistryLocalResource
extends Object
implements LocalResource


Method Summary
 Object get(int id, Object defaultValue)
          This should convert the resourceID to a String and then call get(resourceName,defaultValue);
 Object get(String resourceName, Object defaultValue)
          This finds the local resource as given by the resourceName.
static LocalResource getLocalResourceObject(Locale forWho, String moduleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Method Detail

get

public Object get(int id,
                  Object defaultValue)
Description copied from interface: LocalResource
This should convert the resourceID to a String and then call get(resourceName,defaultValue);

Specified by:
get in interface LocalResource

get

public Object get(String resourceName,
                  Object defaultValue)
Description copied from interface: LocalResource
This finds the local resource as given by the resourceName. If it cannot be found the defaultValue will be returned.

Specified by:
get in interface LocalResource

getLocalResourceObject

public static LocalResource getLocalResourceObject(Locale forWho,
                                                   String moduleName)