public interface Messages
| Modifier and Type | Method and Description |
|---|---|
void |
add(Messages messages)
Adds messages.
|
String |
get(String id,
Object... args)
Formats the message with the specified identifier, replacing placeholders with the supplied arguments.
|
Map<String,String> |
getMessages()
Returns the messages.
|
Messages |
newMessages(String name)
Creates a new messages instance from the named resource that inherits the current messages.
|
String get(String id, Object... args)
MessageFormat to format the message.id - the message identifierargs - message arguments to replace placeholders in the message withid if the message does not existvoid add(Messages messages)
messages - the messages to addMap<String,String> getMessages()
Copyright © 2001–2025. All rights reserved.