com.sapportals.portal.prt.component

Class PortalResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by com.sapportals.portal.prt.component.PortalResourceBundle

public class PortalResourceBundle
extends ResourceBundle

Title: Portal Resource Bundle

Description: This class dynamically merges two resource bundles. This is used for iViews because some translation packages can be deployed separately from the PAR File. The super class normally delegates to the parent bundle. This mechanism is not used here because this implementation as no parent.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
protected  ResourceBundle mm_bundleFromArchive
           
protected  ResourceBundle mm_bundleFromRepository
           
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
PortalResourceBundle(ResourceBundle bundleFromArchive, ResourceBundle bundleFromRepository)
           
 
Method Summary
 Enumeration getKeys()
           
 Locale getLocale()
          Returns the Locale for this ResourceBundle.
protected  Object handleGetObject(String key)
           
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mm_bundleFromArchive

protected ResourceBundle mm_bundleFromArchive

mm_bundleFromRepository

protected ResourceBundle mm_bundleFromRepository
Constructor Detail

PortalResourceBundle

public PortalResourceBundle(ResourceBundle bundleFromArchive,
                            ResourceBundle bundleFromRepository)
Method Detail

getKeys

public Enumeration getKeys()
Specified by:
getKeys in class ResourceBundle

handleGetObject

protected Object handleGetObject(String key)
                          throws MissingResourceException
Specified by:
handleGetObject in class ResourceBundle
Throws:
MissingResourceException

getLocale

public Locale getLocale()
Returns the Locale for this ResourceBundle. (This function can be used after a call to getBundle() to determine whether the ResourceBundle returned really corresponds to the requested locale or is a fallback.)

Overrides:
getLocale in class ResourceBundle
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice