|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for general localizable text.
| Nested Class Summary | |
static interface |
LocalizableText.Key0
Interface for a message without arguments. |
static interface |
LocalizableText.Key1
Interface for a message with one argument. |
static interface |
LocalizableText.Key2
Interface for a message with two arguments. |
static interface |
LocalizableText.Key3
Interface for a message with three arguments. |
static interface |
LocalizableText.Key4
Interface for a message with four arguments. |
static interface |
LocalizableText.Key5
Interface for a message with five arguments. |
static interface |
LocalizableText.Key6
Interface for a message with six arguments. |
static interface |
LocalizableText.Msg
Helper interface for constructing a LocalizableText
class. |
| Field Summary |
| Fields inherited from interface com.sap.localization.Localizable |
defaultLocale |
| Method Summary | |
void |
finallyLocalize()
Finally localizes the message text. |
void |
finallyLocalize(Locale loc)
Finally localize the message text. |
void |
finallyLocalize(Locale loc,
TimeZone tZone)
Finally localize the message text. |
void |
finallyLocalize(TimeZone tZone)
Finally localize the message text. |
String |
format()
Returns the message text. |
String |
format(Locale loc)
Returns the message text. |
String |
format(Locale loc,
TimeZone tZone)
Returns the message text. |
String |
format(TimeZone tZone)
Returns the message text. |
| Methods inherited from interface com.sap.localization.Localizable |
getLocale, getTimeZone, setLocale, setTimeZone |
| Method Detail |
public String format()
throws LocalizationException
Localization is done with the current locale and time zone.
If the finallyLocalize method was called before,
the already localized message is returned.
LocalizationException - if an error occurredLocalizable.setLocale(Locale locale),
Localizable.setTimeZone(TimeZone timeZone)
public String format(Locale loc)
throws LocalizationException
Localization is done with the specified locale and
the current time zone.
If the finallyLocalize method was called before,
the already localized message is returned.
loc - locale
LocalizationException - if an error occurred
public String format(TimeZone tZone)
throws LocalizationException
Localization is done with the specified time zone and
the current locale.
If the finallyLocalize method was called before,
the already localized message is returned.
tZone - time zone
LocalizationException - if an error occurred
public String format(Locale loc,
TimeZone tZone)
throws LocalizationException
Localization is done with the specified locale and time zone.
If the finallyLocalize method was called before,
the already localized message is returned.
loc - localetZone - time zone
LocalizationException - if an error occurred
public void finallyLocalize()
throws LocalizationException
The ability to do localization on demand gets lost.
LocalizationException - if an error occurred
public void finallyLocalize(Locale loc)
throws LocalizationException
loc - locale
LocalizationException - if an error occurredfinallyLocalize()
public void finallyLocalize(TimeZone tZone)
throws LocalizationException
tZone - timeZone
LocalizationException - if an error occurredfinallyLocalize()
public void finallyLocalize(Locale loc,
TimeZone tZone)
throws LocalizationException
loc - localetZone - time zone
LocalizationException - if an error occurredfinallyLocalize()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||