Betty v1.1.0

christophedelory.betty
Class AbstractBettyResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by java.util.ListResourceBundle
          extended by christophedelory.betty.AbstractBettyResourceBundle
Direct Known Subclasses:
BettyResourceBundle, BettyResourceBundle_fr

abstract class AbstractBettyResourceBundle
extends ListResourceBundle

The base project resource bundle.

Since:
0.9.2
Version:
$Revision: 52 $
Author:
Christophe Delory
See Also:
ResourceBean

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
protected AbstractBettyResourceBundle()
          Builds a new and empty resource bundle.
 
Method Summary
protected  Object[][] getContents()
           
protected abstract  String getLocaleName()
          Returns the associated locale name.
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject, handleKeySet
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBettyResourceBundle

protected AbstractBettyResourceBundle()
                               throws Exception
Builds a new and empty resource bundle.

Throws:
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception
See Also:
ListResourceBundle.ListResourceBundle()
Method Detail

getLocaleName

protected abstract String getLocaleName()
Returns the associated locale name.

Returns:
a locale name, which may be empty but not null.

getContents

protected final Object[][] getContents()
Specified by:
getContents in class ListResourceBundle

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.