Interface MessageFormatSupport

All Known Implementing Classes:
DefaultMessageFormatSupport, IcuMessageFormatSupport

public interface MessageFormatSupport
  • Method Details

    • supportsFormat

      boolean supportsFormat(String otherMessageFormat)
    • hasArgNameSupport

      boolean hasArgNameSupport()
    • formatArgType

      default String formatArgType(String argType)
      Formats the given Java-type of a message argument to something less technical where possible.
      Parameters:
      argType - the Java-type of the message argument
      Returns:
      the formatted message argument type
    • getArgInsertOptions

      List<MessageFormatSupport.ArgInsert> getArgInsertOptions(de.codecamp.messages.MessageKeyWithArgs key)
    • createMessageBundleComment

      String createMessageBundleComment(de.codecamp.messages.MessageKeyWithArgs key)
    • checkMessage

      List<String> checkMessage(String message, String[] argTypes, String[] argNames, MessageFormatSupport.TypeChecker argTypeChecker)
    • getSupport

      static MessageFormatSupport getSupport(ProjectConf projectConf)