|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.resources.Resources
public class Resources
Resource management.
10NOV09 - EPG - First package release.
| Field Summary | |
|---|---|
static java.util.Locale |
GOATLANDIA
|
static java.util.Locale |
GOATLANDINESE
|
static java.lang.String |
RESOURCE_MESSAGES
|
| Constructor Summary | |
|---|---|
Resources(java.util.Locale locale)
Construct. |
|
| Method Summary | |
|---|---|
java.util.ResourceBundle |
getBundle(java.lang.String resourceName)
Get the named bundle. |
java.util.ResourceBundle |
getMessagesBundle()
Get the MESSAGES bundle. |
Messaging |
getMessaging()
Get the messaging convenience. |
static java.lang.String |
lookup(java.util.ResourceBundle bundle,
java.lang.String key)
Do a safe lookup. |
static java.lang.String |
lookup(java.util.ResourceBundle bundle,
java.lang.String key,
java.lang.String defaultText)
Do a safe lookup. |
static java.lang.String |
lookupNumeric(java.util.ResourceBundle bundle,
int numeric)
Do a safe lookup of a numeric. |
static java.lang.String |
lookupNumeric(java.util.ResourceBundle bundle,
int numeric,
java.lang.String defaultText)
Do a safe lookup of a numeric. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESOURCE_MESSAGES
public static java.util.Locale GOATLANDINESE
public static java.util.Locale GOATLANDIA
| Constructor Detail |
|---|
public Resources(java.util.Locale locale)
throws java.lang.Throwable
locale - the locale.
java.lang.Throwable| Method Detail |
|---|
public java.util.ResourceBundle getMessagesBundle()
throws java.lang.Throwable
java.lang.Throwable
public Messaging getMessaging()
throws java.lang.Throwable
java.lang.Throwable
public java.util.ResourceBundle getBundle(java.lang.String resourceName)
throws java.lang.Throwable
resourceName - the resource name
java.lang.Throwable
public static java.lang.String lookup(java.util.ResourceBundle bundle,
java.lang.String key)
bundle - the resource bundle.key - the key
public static java.lang.String lookup(java.util.ResourceBundle bundle,
java.lang.String key,
java.lang.String defaultText)
bundle - the resource bundle.key - the keydefaultText - the default text
public static java.lang.String lookupNumeric(java.util.ResourceBundle bundle,
int numeric)
bundle - the resource bundle.numeric - the numeric key.
public static java.lang.String lookupNumeric(java.util.ResourceBundle bundle,
int numeric,
java.lang.String defaultText)
bundle - the resource bundle.numeric - the numeric key.defaultText - the default text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||