public final class ReplyTextBundleUtil extends Object
| Constructor and Description |
|---|
ReplyTextBundleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setReplyTextBundleIfAppropriate(CommandHandler commandHandler,
ResourceBundle replyTextBundle)
Set the
replyTextBundle property of the specified CommandHandler to the
ResourceBundle if and only if the commandHandler implements the
ReplyTextBundleAware interface AND its replyTextBundle property
has not been set (is null). |
public static void setReplyTextBundleIfAppropriate(CommandHandler commandHandler, ResourceBundle replyTextBundle)
replyTextBundle property of the specified CommandHandler to the
ResourceBundle if and only if the commandHandler implements the
ReplyTextBundleAware interface AND its replyTextBundle property
has not been set (is null).commandHandler - - the CommandHandler instancereplyTextBundle - - the ResourceBundle to use for localizing reply textAssertFailedException - - if the commandHandler is nullCopyright © 2016. All rights reserved.