org.apache.openjpa.lib.util
Class SimpleResourceBundleProvider

java.lang.Object
  extended by org.apache.openjpa.lib.util.SimpleResourceBundleProvider
All Implemented Interfaces:
ResourceBundleProvider

 class SimpleResourceBundleProvider
extends Object
implements ResourceBundleProvider

ResourceBundleProvider that uses Java's built-in resource bundle lookup methods.

Author:
Abe White

Constructor Summary
SimpleResourceBundleProvider()
           
 
Method Summary
 ResourceBundle findResource(String name, Locale locale, ClassLoader loader)
          Find a ResourceBundle with the given name, locale, and class loader (which may be null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResourceBundleProvider

SimpleResourceBundleProvider()
Method Detail

findResource

public ResourceBundle findResource(String name,
                                   Locale locale,
                                   ClassLoader loader)
Description copied from interface: ResourceBundleProvider
Find a ResourceBundle with the given name, locale, and class loader (which may be null).

Specified by:
findResource in interface ResourceBundleProvider


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.