com.interface21.context.support
Class MessageSourceResourceBundle

java.lang.Object
  |
  +--java.util.ResourceBundle
        |
        +--com.interface21.context.support.MessageSourceResourceBundle

public class MessageSourceResourceBundle
extends java.util.ResourceBundle

Allows for accessing a MessageSource as a ResourceBundle.

Since:
27.02.2003
Author:
Juergen Hoeller

Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
MessageSourceResourceBundle(MessageSource source, java.util.Locale locale)
           
 
Method Summary
 java.util.Enumeration getKeys()
           
protected  java.lang.Object handleGetObject(java.lang.String code)
           
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageSourceResourceBundle

public MessageSourceResourceBundle(MessageSource source,
                                   java.util.Locale locale)
Method Detail

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String code)
Overrides:
handleGetObject in class java.util.ResourceBundle

getKeys

public java.util.Enumeration getKeys()
Overrides:
getKeys in class java.util.ResourceBundle


Rod Johnson and Spring contributors 2001-2003.