public class MessagesWrapper extends Object
for more syntax details.
Modifier and Type | Method and Description |
---|---|
String |
get(String key)
We still use the deprecated method
TranslationService.translate(info.magnolia.i18nsystem.LocaleProvider, String, String[]) due to compatibility with obsolete i18nBasename, the method TranslationService.translate(info.magnolia.i18nsystem.LocaleProvider, String[]) calls this method internally anyway. |
String |
get(String key,
List args) |
protected String |
get(String key,
List args,
Messages messages)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
String |
get(String key,
List args,
String basename)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
protected String |
get(String key,
Messages messages)
Deprecated.
since 5.4.4. Use
get(String) instead. |
String |
get(String key,
String basename)
Deprecated.
since 5.4.4. Use
get(String) instead. |
String |
getWithDefault(String key,
List args,
String defaultMsg)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
protected String |
getWithDefault(String key,
List args,
String defaultMsg,
Messages messages)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
String |
getWithDefault(String key,
List args,
String defaultMsg,
String basename)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
String |
getWithDefault(String key,
String defaultMsg)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
protected String |
getWithDefault(String key,
String defaultMsg,
Messages messages)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
String |
getWithDefault(String key,
String defaultMsg,
String basename)
Deprecated.
since 5.4.4. Use
get(String, java.util.List) instead. |
public String get(String key)
TranslationService.translate(info.magnolia.i18nsystem.LocaleProvider, String, String[])
due to compatibility with obsolete i18nBasename, the method TranslationService.translate(info.magnolia.i18nsystem.LocaleProvider, String[])
calls this method internally anyway.@Deprecated public String get(String key, String basename)
get(String)
instead.@Deprecated public String get(String key, List args, String basename)
get(String, java.util.List)
instead.@Deprecated public String getWithDefault(String key, String defaultMsg)
get(String, java.util.List)
instead.@Deprecated public String getWithDefault(String key, String defaultMsg, String basename)
get(String, java.util.List)
instead.@Deprecated public String getWithDefault(String key, List args, String defaultMsg)
get(String, java.util.List)
instead.@Deprecated public String getWithDefault(String key, List args, String defaultMsg, String basename)
get(String, java.util.List)
instead.@Deprecated protected String get(String key, Messages messages)
get(String)
instead.@Deprecated protected String get(String key, List args, Messages messages)
get(String, java.util.List)
instead.@Deprecated protected String getWithDefault(String key, String defaultMsg, Messages messages)
get(String, java.util.List)
instead.@Deprecated protected String getWithDefault(String key, List args, String defaultMsg, Messages messages)
get(String, java.util.List)
instead.Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.