org.openmdx.security.auth.client.spi
Class ResourceBundles

java.lang.Object
  extended by org.openmdx.security.auth.client.spi.ResourceBundles

public class ResourceBundles
extends Object

Resource Bundles


Constructor Summary
protected ResourceBundles()
          Avoid instantiation
 
Method Summary
static
<T> ResourceBundle
getResourceBundle(Class<T> localizedClass)
          Lenient resource bundle retrieval
static ResourceBundle getResourceBundle(String baseName)
          Lenient resource bundle retrieval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundles

protected ResourceBundles()
Avoid instantiation

Method Detail

getResourceBundle

public static ResourceBundle getResourceBundle(String baseName)
Lenient resource bundle retrieval

Parameters:
baseName -
Returns:
the corresponding ResourceBundle; or null if it is missing

getResourceBundle

public static <T> ResourceBundle getResourceBundle(Class<T> localizedClass)
Lenient resource bundle retrieval

Parameters:
baseName -
Returns:
the corresponding ResourceBundle; or null if it is missing


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.