- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Simple functional interface that takes a message key plus an array of message arguments and
returns the formatted message.
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage(String code, Object... args) Resolves the given message key and formats it using the given message arguments.
-
Method Details
-
getMessage
Resolves the given message key and formats it using the given message arguments.- Parameters:
code- the message keyargs- the message arguments- Returns:
- the formatted message
-