Package io.micronaut.context
Class MessageSourceUtils
java.lang.Object
io.micronaut.context.MessageSourceUtils
Utility class used by
MessageSource
to create variables maps.- Since:
- 3.4.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MessageSourceUtils
public MessageSourceUtils()
-
-
Method Details
-
variables
Returns a Map whose keys are the index of the varargs. E.g. for "Sergio", "John" the map ["0" => "Sergio", "1" => "John"] is returned- Parameters:
args
- variables- Returns:
- The variables map.
-