Interface MessageFormatSupport

All Known Implementing Classes:
AbstractMessageFormatSupport, DefaultMessageFormatSupport, IcuMessageFormatSupport

public interface MessageFormatSupport
  • Method Details

    • supportsFormat

      boolean supportsFormat(String messageFormatId)
    • hasArgNameSupport

      boolean hasArgNameSupport()
    • formatArgType

      String formatArgType(String argType)
      Returns a readable term for what the given Java argument type represents.
      Parameters:
      argType - the Java argument type
      Returns:
      a readable term for what the given Java argument type represents
    • 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)