public final class Messages extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getString(String code)
Formats a message.
|
static String |
getString(String code,
Object... params)
Formats a message.
|
static String |
getString(String code,
Object param)
Deprecated.
Will be removed in 3.0 in favor of
getString(String, Object[]) When removed, calls to this
method will automatically recompile to getString(String, Object[]) |
public static String getString(String code)
code
- The message code.@Deprecated public static String getString(String code, Object param)
getString(String, Object[])
When removed, calls to this
method will automatically recompile to getString(String, Object[])
code
- The message code.param
- The message parameter.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.