Module de.codecamp.messages.shared
Class DefaultMessageFormatSupport
java.lang.Object
de.codecamp.messages.shared.messageformat.AbstractMessageFormatSupport
de.codecamp.messages.shared.messageformat.DefaultMessageFormatSupport
- All Implemented Interfaces:
MessageFormatSupport
Implements
MessageFormatSupport for Java's MessageFormat.
If changes are made to the checked types, this must be reflected in
DefaultMessageArgConverter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.codecamp.messages.shared.messageformat.MessageFormatSupport
MessageFormatSupport.ArgInsert, MessageFormatSupport.TypeChecker -
Field Summary
FieldsFields inherited from class de.codecamp.messages.shared.messageformat.AbstractMessageFormatSupport
JAVATYPES_DATE, JAVATYPES_DATETIME, JAVATYPES_DECIMAL, JAVATYPES_INTEGER, JAVATYPES_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckMessage(String message, String[] argTypes, String[] argNames, MessageFormatSupport.TypeChecker argTypeChecker) createMessageBundleComment(de.codecamp.messages.MessageKeyWithArgs key) getArgInsertOptions(de.codecamp.messages.MessageKeyWithArgs key) booleanbooleansupportsFormat(String messageFormatId) Methods inherited from class de.codecamp.messages.shared.messageformat.AbstractMessageFormatSupport
formatArgType
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
DefaultMessageFormatSupport
public DefaultMessageFormatSupport()
-
-
Method Details
-
supportsFormat
-
hasArgNameSupport
public boolean hasArgNameSupport() -
getArgInsertOptions
public List<MessageFormatSupport.ArgInsert> getArgInsertOptions(de.codecamp.messages.MessageKeyWithArgs key) -
createMessageBundleComment
-