|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.resources.ConfigResources
public class ConfigResources
ConfigResources allows access to various configuration parameters and provides a default means to access the default properties file used for configuration.
Copyright © Zphinx Software Solutions
| Method Summary | |
|---|---|
static ConfigResources |
getInstance()
Gets the static instance of this object. |
static ConfigResources |
getInstance(Locale loca)
Gets the static instance of this object. |
PropertyResourceBundle |
getResourceBundle()
Gets the PropertyResourceBundle associated with this object |
static String |
getString(String key)
Gets the locale sensitive string defined by this key |
String |
getString(String key,
Object[] arguments)
Iterates over the registered message provider to get the given message key. |
String |
getString(String key,
Object[] arguments,
Locale locale)
Iterates over the registered message provider to get the given message key. |
String |
getString(String providerId,
String key,
Object[] arguments)
Tries to find the desired entry in the named message provider. |
String |
getString(String providerId,
String key,
Object[] arguments,
Locale locale)
Tries to find the desired entry in the named message provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getString(String key)
key - The key to the object been fetched
public PropertyResourceBundle getResourceBundle()
public static ConfigResources getInstance(Locale loca)
public static ConfigResources getInstance()
public String getString(String key,
Object[] arguments,
Locale locale)
key - The desired message keyarguments - The dynamic parts of the message that will be evaluated.locale - The locale in which the message will be printed
public String getString(String key,
Object[] arguments)
key - The desired message keyarguments - The dynamic parts of the message that will be evaluated.
public String getString(String providerId,
String key,
Object[] arguments,
Locale locale)
providerId - The name of the message provider (i.e. source) to use for the messagekey - The desired message keyarguments - The dynamic parts of the message that will be evaluated using the standard java text formatting abilities.locale - The locale in which the message will be printed
public String getString(String providerId,
String key,
Object[] arguments)
providerId - The name of the message provider (i.e. source) to use for the messagekey - The desired message keyarguments - The dynamic parts of the message that will be evaluated using the standard java text formatting abilities.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||