|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfrastructure.internationalization.InternationalizationManager
Class to handle internationalization. Uses the property manager to set the default locale. Set the default locale using locale.language = en and locale.country = UK. If locale has not been set in the property manager, it uses the JVM default locale
| Method Summary | |
static InternationalizationManager |
getInstance()
Returns the singleton |
java.lang.String |
getMessage(java.lang.String category,
java.lang.String messageKey,
java.lang.Object[] arguments)
Get the internationalized message. |
void |
initializeInternationalizationManager(java.io.InputStream propertiesFileInputStream)
Initialize the resource bundle by processing all the files specified in the 'propertiesFileInputStream'. |
void |
initializeResourceBundle(java.lang.String category,
java.io.InputStream propertiesFileInputStream)
Initialize the resource bundle by reading name-value pairs from the specified input stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static InternationalizationManager getInstance()
public void initializeInternationalizationManager(java.io.InputStream propertiesFileInputStream)
throws java.io.IOException
propertiesFileInputStream -
java.io.IOException
public void initializeResourceBundle(java.lang.String category,
java.io.InputStream propertiesFileInputStream)
throws java.io.IOException
category - propertiesFileInputStream -
java.io.IOException
public java.lang.String getMessage(java.lang.String category,
java.lang.String messageKey,
java.lang.Object[] arguments)
category - messageKey - arguments -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||