|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.genericra.util.StringManagerBase
com.sun.genericra.util.StringManager
public class StringManager
Implementation of a local string manager. Provides access to i18n messages for classes that need them.
One StringManager per package can be created and accessed by the getManager method call. The ResourceBundle name is constructed from the given package name in the constructor plus the suffix of "LocalStrings". Thie means that localized information will be contained in a LocalStrings.properties file located in the package directory of the classpath.
Method Summary | |
---|---|
static StringManager |
getManager(java.lang.Class callerClass)
Returns a local string manager for the given package name. |
static StringManager |
getManager(java.lang.String packageName)
Returns a local string manager for the given package name. |
Methods inherited from class com.sun.genericra.util.StringManagerBase |
---|
getString, getString, getString, getString, getString, getString, getStringManager, getStringWithDefault, getStringWithDefault |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StringManager getManager(java.lang.String packageName)
packageName
- name of the package of the src
public static StringManager getManager(java.lang.Class callerClass)
callerClass
- the object making the call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |