Module de.codecamp.messages.shared
Class DefaultMessageFormatSupport
java.lang.Object
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckMessage(String message, String[] argTypes, String[] argNames, MessageFormatSupport.TypeChecker argTypeChecker) booleanbooleansupportsFormat(String messageFormat) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.codecamp.messages.shared.messageformat.MessageFormatSupport
formatArgType
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
DefaultMessageFormatSupport
public DefaultMessageFormatSupport()
-
-
Method Details
-
supportsFormat
- Specified by:
supportsFormatin interfaceMessageFormatSupport
-
hasArgNameSupport
public boolean hasArgNameSupport()- Specified by:
hasArgNameSupportin interfaceMessageFormatSupport
-
getArgInsertOptions
- Specified by:
getArgInsertOptionsin interfaceMessageFormatSupport
-
createMessageBundleComment
- Specified by:
createMessageBundleCommentin interfaceMessageFormatSupport
-