|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.tools.localization.L10NKey
Default implementation of a Localization Key.
Acts as a simple wrapper around the real key. Instances are immutable.
| Constructor Summary | |
L10NKey(java.lang.String theKey)
Constructs a L10NKey instance using the specified key. |
|
| Method Summary | |
java.lang.String |
getMessage()
resolve the instance to the ScarabLocalizationTool.DEFAULT_LOCALE Note: This method should return english messages independent of any l10n settings. |
java.lang.String |
getMessage(ScarabLocalizationTool l10n)
resolve the message according to the parameters of the given ScarabLocalizationTool instance. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public L10NKey(java.lang.String theKey)
theKey - the final String representation of the key| Method Detail |
public java.lang.String toString()
toString in interface LocalizationKeyString representation of the key.
Only used from L10NKeySet to construct keys.public java.lang.String getMessage()
Localizableresolve(ScarabLocalizationTool) instead.
getMessage in interface Localizablepublic java.lang.String getMessage(ScarabLocalizationTool l10n)
Localizable
getMessage in interface Localizable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||