|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sfac.lang.MultiLingualTextImpl
public class MultiLingualTextImpl
Implementation of the MultiLingualText interface based on the use of the LanguageSupport.
| Constructor Summary | |
|---|---|
MultiLingualTextImpl(String messageKey,
Object... messageParams)
|
|
| Method Summary | |
|---|---|
String |
getRawText()
|
String |
getText()
Get the value of the text for the default locale. |
String |
getText(Locale loc)
Get the value of the text for the specified locale. |
String |
getText(String localeId)
Get the value of the text for the specified locale. |
protected Object[] |
getTranslatedParams()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiLingualTextImpl(String messageKey,
Object... messageParams)
| Method Detail |
|---|
public String getRawText()
public String getText()
MultiLingualText
getText in interface MultiLingualTextprotected Object[] getTranslatedParams()
public String getText(Locale loc)
MultiLingualTextResourceBundle mechanism.
getText in interface MultiLingualTextpublic String getText(String localeId)
MultiLingualTextResourceBundle mechanism.
getText in interface MultiLingualTextlocaleId - the ID of the locale (language_country_variant)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||