Package de.codecamp.messages.proxy
Interface MessageProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageProvider
Simple functional interface that takes a message key plus an array of message arguments and returns the formatted message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMessage(String code, Object... args)Resolves the given message key and formats it using the given message arguments.
-