Module de.codecamp.messages.shared
Class AbstractMessageFormatSupport
java.lang.Object
de.codecamp.messages.shared.messageformat.AbstractMessageFormatSupport
- All Implemented Interfaces:
MessageFormatSupport
- Direct Known Subclasses:
DefaultMessageFormatSupport,IcuMessageFormatSupport
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.codecamp.messages.shared.messageformat.MessageFormatSupport
MessageFormatSupport.ArgInsert, MessageFormatSupport.TypeChecker -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatArgType(String argType) Formats the given Java-type of a message argument to something less technical where possible.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
checkMessage, createMessageBundleComment, getArgInsertOptions, hasArgNameSupport, supportsFormat
-
Field Details
-
JAVATYPES_INTEGER
-
JAVATYPES_DECIMAL
-
JAVATYPES_DATETIME
-
JAVATYPES_DATE
-
JAVATYPES_TIME
-
-
Constructor Details
-
AbstractMessageFormatSupport
public AbstractMessageFormatSupport()
-
-
Method Details
-
formatArgType
Formats the given Java-type of a message argument to something less technical where possible. The result is only intended for display purposes.- Specified by:
formatArgTypein interfaceMessageFormatSupport- Parameters:
argType- the Java-type of the message argument- Returns:
- the formatted message argument type
-