QJCC homepage

biz.chitec.quarterback.util
Class MapResourceBundle

java.lang.Object
  extended byjava.util.ResourceBundle
      extended bybiz.chitec.quarterback.util.MapResourceBundle
Direct Known Subclasses:
PropertiesEditorXML.DotLabelResourceBundle

public class MapResourceBundle
extends java.util.ResourceBundle

A Resourcebundle which feeds itself out of a map Especially useful if the bundle has been transferred between server and client.

Version:
$Id: ebdf006762596556a1620488f77abf685d6ebecc $
Author:
cantamen/Dirk Hillbrecht 2005

Nested Class Summary
 
Nested classes inherited from class java.util.ResourceBundle
 
Field Summary
protected  java.util.Locale mylocale
           
protected  java.util.Map mymap
           
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
protected MapResourceBundle()
           
  MapResourceBundle(java.util.Locale locale, java.util.Map map)
           
 
Method Summary
 java.util.Enumeration getKeys()
           
 java.util.Locale getLocale()
           
protected  java.lang.Object handleGetObject(java.lang.String key)
           
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mylocale

protected java.util.Locale mylocale

mymap

protected java.util.Map mymap
Constructor Detail

MapResourceBundle

protected MapResourceBundle()

MapResourceBundle

public MapResourceBundle(java.util.Locale locale,
                         java.util.Map map)
Method Detail

getLocale

public java.util.Locale getLocale()

getKeys

public java.util.Enumeration getKeys()

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String key)

QJCC homepage