public interface MessageParam
MessageParam
provides a message key and optionally some message arguments which can be used when formatting
a message with MessageFormat.format(String, Object...)
. The purpose is to make it easier to provide end-user
friendly messages.Modifier and Type | Method and Description |
---|---|
Object[] |
getMessageArgs()
Returns the arguments for this message in order to be used with
MessageFormat.format(String, Object...) |
String |
getMessageKey()
Returns the key for the message in order to retrieve the real message from a
ResourceBundle . |
String getMessageKey()
ResourceBundle
.ResourceBundle.getString(String)
Object[] getMessageArgs()
MessageFormat.format(String, Object...)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.