info.magnolia.i18nsystem
mechanism instead, e.g. SimpleTranslator
.public class MessagesUtil extends Object
info.magnolia.i18nsystem
Constructor and Description |
---|
MessagesUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Messages |
chain(Messages msgs1,
Messages msgs2)
Deprecated.
|
static Messages |
chain(Messages msgs1,
String basename)
Deprecated.
|
static Messages |
chain(String[] basenames)
Deprecated.
|
static Messages |
chain(String basename,
Messages msgs2)
Deprecated.
|
static Messages |
chainWithDefault(String basename)
Deprecated.
|
static void |
generateJavaScript(Writer out,
Messages messages)
Deprecated.
Adds Variables to a JS which can be used with the getMessage(key) method.
|
static String |
get(String key)
Deprecated.
|
static String |
get(String key,
String basename)
Deprecated.
|
static String |
get(String key,
String[] args)
Deprecated.
|
static String |
get(String key,
String basename,
String[] args)
Deprecated.
|
static String |
getChained(String key,
String[] basenames)
Deprecated.
|
static String |
getChained(String key,
String[] basenames,
String[] args)
Deprecated.
|
static String |
getChainedWithDefault(String key,
String dflt,
String[] basenames)
Deprecated.
|
static String |
getChainedWithDefault(String key,
String dflt,
String[] basenames,
String[] args)
Deprecated.
|
static String |
getWithDefault(String key,
String dflt)
Deprecated.
|
static String |
getWithDefault(String key,
String dflt,
String basename)
Deprecated.
|
static String |
getWithDefault(String key,
String dflt,
String[] args)
Deprecated.
|
static String |
getWithDefault(String key,
String dflt,
String basename,
String[] args)
Deprecated.
|
static String |
javaScriptString(String msg)
Deprecated.
|
public static void generateJavaScript(Writer out, Messages messages) throws IOException
IOException
public static String getWithDefault(String key, String dflt, String[] args)
public static String getWithDefault(String key, String dflt, String basename)
public static String getWithDefault(String key, String dflt, String basename, String[] args)
public static String getChained(String key, String[] basenames, String[] args)
public static String getChainedWithDefault(String key, String dflt, String[] basenames)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.