|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IText
Representation of an internationalizable text. Text objects are retrieved from TextBundles.
The Text interface supports internationalization and retrieving texts with different lengths for different GUI purposes.
There is no fix definition of the text lengths. The three text length types are only a hint. The idea is of cause that short <= medium <= long is true.
There is an optional fallback onto a technical constructed name if there is no resource bundle at all. The normal behavior is to throw a MissingResourceException.
Copyright: Copyright (c) 2002 Company: SAP Portals
| Field Summary | |
|---|---|
static boolean |
FALLBACK
flag for fallback |
static boolean |
NO_FALLBACK
flag for no fallback |
| Method Summary | |
|---|---|
String |
getLongText(Locale aLocale)
returns a locale specific long version of the text. |
String |
getLongText(Locale aLocale,
boolean fallback)
returns a locale specific long version of the text. |
String |
getMediumText(Locale aLocale)
returns a locale specific medium version of the text. |
String |
getMediumText(Locale aLocale,
boolean fallback)
returns a locale specific medium version of the text. |
String |
getShortText(Locale aLocale)
returns a locale specific short version of the text. |
String |
getShortText(Locale aLocale,
boolean fallback)
returns a locale specific short version of the text. |
String |
getText(Locale aLocale,
int aLengthType,
boolean fallback)
returns a locale specific version of the text. |
| Field Detail |
|---|
static final boolean FALLBACK
static final boolean NO_FALLBACK
| Method Detail |
|---|
String getText(Locale aLocale,
int aLengthType,
boolean fallback)
aLocale - the locale for the textaLengthType - one of the length types defined in TextBundlefallback - true, if a technical name should be contructed when
MissingResourceException - if the text key is missing and fallback is disabledString getShortText(Locale aLocale)
aLocale - the locale for the text
MissingResourceException - if the text key is missing
String getShortText(Locale aLocale,
boolean fallback)
aLocale - the locale for the textfallback - true, if a technical name should be contructed when
MissingResourceException - if the text key is missing and fallback is disabledString getMediumText(Locale aLocale)
aLocale - the locale for the text
MissingResourceException - if the text key is missing
String getMediumText(Locale aLocale,
boolean fallback)
aLocale - the locale for the textfallback - true, if a technical name should be contructed when
MissingResourceException - if the text key is missing and fallback is disabledString getLongText(Locale aLocale)
aLocale - the locale for the text
MissingResourceException - if the text key is missing
String getLongText(Locale aLocale,
boolean fallback)
aLocale - the locale for the textfallback - true, if a technical name should be contructed when
MissingResourceException - if the text key is missing and fallback is disabled| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/util
|
api
|
EP-KM-COL
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||