Interface MessageUtil.Factory

All Known Implementing Classes:
MessageUtilFactory, MockMessageUtilFactory
Enclosing interface:
MessageUtil

@ParametersAreNonnullByDefault public static interface MessageUtil.Factory
  • Method Details

    • getNewInstance

      MessageUtil getNewInstance()
      Create a MessageUtil for the current logged-in user.
      Returns:
      MessageUtil set to the locale of the current logged-in user.
    • getNewInstance

      MessageUtil getNewInstance(ApplicationUser user)
      Create a MessageUtil using the specified user's locale.
      Returns:
      MessageUtil set to the locale of the specified user.
    • getNewInstance

      MessageUtil getNewInstance(Locale locale)
      Create a MessageUtil using the specified locale.
      Returns:
      MessageUtil based on the specified locale.