Class AbstractMessageSource

    • Constructor Detail

      • AbstractMessageSource

        public AbstractMessageSource()
    • Method Detail

      • interpolate

        @NonNull
        public java.lang.String interpolate​(@NonNull
                                            java.lang.String template,
                                            @NonNull
                                            MessageSource.MessageContext context)
        Description copied from interface: MessageSource
        Interpolate the given message template.
        Specified by:
        interpolate in interface MessageSource
        Parameters:
        template - The template
        context - The context to use.
        Returns:
        The interpolated message.