net.sf.locale4j.bundle
Class Locale4jBundle
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
net.sf.locale4j.bundle.Locale4jBundle
public abstract class Locale4jBundle
- extends ListResourceBundle
Facade for default localization resource bundle.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Locale4jBundle
public Locale4jBundle()
- Default Constructor.
loadBundle
protected abstract void loadBundle()
- This method is responsible for setting up the LocaleStore object.
It is called from the constructor.
getContents
protected Object[][] getContents()
- Gets the language table for the default language.
- Specified by:
getContents in class ListResourceBundle
- Returns:
- an object array of key-value pairs.
getContents
protected Object[][] getContents(Locale locale)
- Gets a translation table for a given locale.
- Parameters:
locale - language to get
- Returns:
- an object array of key-value pairs.
getStore
public final LocaleStore getStore()
- Returns:
- the store
setStore
public final void setStore(LocaleStore newStore)
- Parameters:
newStore - the store to set
Copyright © 2007-2008 Vermont Department of Taxes. All Rights Reserved.