org.apache.sling.i18n.impl
Class JcrResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by org.apache.sling.i18n.impl.JcrResourceBundle

public class JcrResourceBundle
extends ResourceBundle


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Method Summary
 Enumeration<String> getKeys()
           
 Locale getLocale()
           
protected  Object handleGetObject(String key)
           
protected  Set<String> handleKeySet()
          Returns a Set of all resource keys provided by this resource bundle only.
protected  void setParent(ResourceBundle parent)
           
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, keySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setParent

protected void setParent(ResourceBundle parent)
Overrides:
setParent in class ResourceBundle

getLocale

public Locale getLocale()
Overrides:
getLocale in class ResourceBundle

handleKeySet

protected Set<String> handleKeySet()
Returns a Set of all resource keys provided by this resource bundle only.

This method is a new Java 1.6 method to implement the ResourceBundle.keySet() method.

Overrides:
handleKeySet in class ResourceBundle
Returns:
The keys of the resources provided by this resource bundle

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in class ResourceBundle

handleGetObject

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


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.