Package eu.bandm.tools.annotations
Class SimplePreMessage
java.lang.Object
eu.bandm.tools.annotations.SimplePreMessage
- All Implemented Interfaces:
PreMessage
Most simple implementation of a
PreMessage
.- Since:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
getArgs()
Returns a copy of the arguments.getText()
Return the unformatted text component.static PreMessage
preMessage
(String text, Object... args) Factory method.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface eu.bandm.tools.annotations.PreMessage
format
-
Field Details
-
text
The text of the message. -
args
The arguments of the message.
-
-
Constructor Details
-
SimplePreMessage
Evident
-
-
Method Details
-
getArgs
Returns a copy of the arguments.- Specified by:
getArgs
in interfacePreMessage
- Returns:
- a copy of the arguments.
-
getText
Return the unformatted text component.- Specified by:
getText
in interfacePreMessage
-
toString
-
preMessage
Factory method.
-