public class MessageToolDelegatingLocalizedMessage extends Object implements LocalizedMessage
MessageTool
and can thus be used to render
imprint or terms of use.Constructor and Description |
---|
MessageToolDelegatingLocalizedMessage(boolean imprint)
Create the localized message that delegates to the appropriate MessageTool method
|
Modifier and Type | Method and Description |
---|---|
String |
toString(Locale locale,
Object... arguments)
Returns the localized message.
|
public MessageToolDelegatingLocalizedMessage(boolean imprint)
imprint
- whether the imprint or the terms of use should be renderedpublic String toString(Locale locale, Object... arguments)
LocalizedMessage
toString
in interface LocalizedMessage
locale
- The locale for the message.arguments
- Can be used, if some arguments might be set or to overwrite already given
arguments.Copyright © 2019 Communote team. All rights reserved.