|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NlsLocalizer
This is the interface for a localizer that simplifies the localization of
messages via NlsMessage
s.
NlsCachingLocalizer
Method Summary | |
---|---|
String |
localize(Locale locale,
String internationalizedMessage)
This method localizes the given internationalizedMessage to
the given target locale . |
String |
localize(Locale locale,
String internationalizedMessage,
Map<String,Object> arguments)
This method localizes the given internationalizedMessage with
the given arguments filled in to the given target
locale . |
Method Detail |
---|
String localize(Locale locale, String internationalizedMessage, Map<String,Object> arguments)
internationalizedMessage
with
the given arguments
filled in to the given target
locale
.
locale
- is the Locale
to translate to.internationalizedMessage
- is the
internationalized
message
to translate.arguments
- are the arguments
to fill in.
String localize(Locale locale, String internationalizedMessage)
internationalizedMessage
to
the given target locale
.
locale
- is the Locale
to translate to.internationalizedMessage
- is the
internationalized
message
to translate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |