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 java.util.ResourceBundle


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
java.util.ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Method Summary
 java.util.Enumeration<java.lang.String> getKeys()
           
 java.util.Locale getLocale()
           
protected  java.lang.Object handleGetObject(java.lang.String key)
           
protected  java.util.Set<java.lang.String> handleKeySet()
          Returns a Set of all resource keys provided by this resource bundle only.
protected  void setParent(java.util.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(java.util.ResourceBundle parent)
Overrides:
setParent in class java.util.ResourceBundle

getLocale

public java.util.Locale getLocale()
Overrides:
getLocale in class java.util.ResourceBundle

handleKeySet

protected java.util.Set<java.lang.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 java.util.ResourceBundle
Returns:
The keys of the resources provided by this resource bundle

getKeys

public java.util.Enumeration<java.lang.String> getKeys()
Specified by:
getKeys in class java.util.ResourceBundle

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String key)
Specified by:
handleGetObject in class java.util.ResourceBundle


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