org.apache.openjpa.lib.util
Class StreamResourceBundleProvider

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

 class StreamResourceBundleProvider
extends Object
implements ResourceBundleProvider

ResourceBundleProvider that uses the ClassLoader.getResourceAsStream(java.lang.String) method to load resources. Created for use under WSAD.

Author:
Stephen Kim

Constructor Summary
StreamResourceBundleProvider()
           
 
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

StreamResourceBundleProvider

StreamResourceBundleProvider()
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.