Module de.codecamp.messages.shared
Interface MessageFormatSupport
- All Known Implementing Classes:
AbstractMessageFormatSupport,DefaultMessageFormatSupport,IcuMessageFormatSupport
public interface MessageFormatSupport
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescriptioncheckMessage(String message, String[] argTypes, String[] argNames, MessageFormatSupport.TypeChecker argTypeChecker) createMessageBundleComment(de.codecamp.messages.MessageKeyWithArgs key) formatArgType(String argType) Returns a readable term for what the given Java argument type represents.getArgInsertOptions(de.codecamp.messages.MessageKeyWithArgs key) static MessageFormatSupportgetSupport(ProjectConf projectConf) booleanbooleansupportsFormat(String messageFormatId)
-
Method Details
-
supportsFormat
-
hasArgNameSupport
boolean hasArgNameSupport() -
formatArgType
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
-