org.apache.openjpa.lib.util
Class ZipResourceBundleProvider

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

 class ZipResourceBundleProvider
extends Object
implements ResourceBundleProvider

ResourceBundleProvider that expects the ClassLoader.getResourceAsStream(java.lang.String) method to return a zipped input stream. Created for use under Weblogic RARs.

Author:
Patrick Linskey

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

ZipResourceBundleProvider

ZipResourceBundleProvider()
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-2011 Apache Software Foundation. All Rights Reserved.