org.tridas.io
Class DefaultResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by org.tridas.io.DefaultResourceBundle

public class DefaultResourceBundle
extends ResourceBundle

Used when an appropriate resource bundle cannot be found - in the future perhaps I18N can be changed from loading the resource bundle in a static initializer to an explicit init method called during startup which upon failure can display an error to the user.

Author:
Aaron Hamid arh14 at cornell.edu

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

Constructor Detail

DefaultResourceBundle

public DefaultResourceBundle()
Method Detail

handleGetObject

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

getKeys

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


Copyright © 2011. All Rights Reserved.