Interface MessageArgConverter

All Known Implementing Classes:
DefaultMessageArgConverter, IcuJavaMoneyMessageArgConverter, IcuMessageArgConverter
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 MessageArgConverter
Converts message arguments from a type that is used in the application to a type that can be handled by the used messsage format.
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Object value, Locale locale)
    Converts message arguments from a type that is used in the application to a type that can be handled by the used messsage format.
  • Method Details

    • convert

      Object convert(Object value, Locale locale)
      Converts message arguments from a type that is used in the application to a type that can be handled by the used messsage format.
      Parameters:
      value - the original value
      locale - the locale
      Returns:
      the converted value