|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StringManager
The manager of localized strings. It maintains associations between objects and bundles of named localized strings.
| Method Summary | |
|---|---|
String |
getString(Class cls,
String name)
Get localized string for the specified class. |
String |
getString(Class cls,
String name,
Object obj)
Get localized string for the specified class and customize it for the specified object. |
String |
getString(String name,
Object obj)
Get localized string for the specified object. |
| Method Detail |
|---|
String getString(String name,
Object obj)
getString( name, obj ) call is equivalent to
getString( obj.getClass(), name, obj ).
obj - The specified object.name - The name of localized string for this object.
null if it is not found.
String getString(Class cls,
String name)
getString( cls, name ) call is equivalent to
getString( cls, name, null ).
cls - The specified class.name - The name of localized string for the specified class.
null if it is not found.
String getString(Class cls,
String name,
Object obj)
cls - The specified class.obj - The specified object.name - The name of localized string for the specified class.
null if it is not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||