B - Concrete builder typepublic static interface Localizable.Builder<B extends Localizable.Builder<B>>
Localizable building| Modifier and Type | Method and Description |
|---|---|
B |
message(String defaultMessage)
Set the default message to use if a
Localizable.getMessageCode() is not available or a localized message which
corresponds to the message code cannot be found or no localization handler is available for message
translation. |
B |
messageArguments(Object... arguments)
Set the arguments to use for message localization.
|
B |
messageCode(String messageCode)
Set the message code to use to obtain a localized message
|
B messageCode(String messageCode)
messageCode - Message code to setB message(String defaultMessage)
Localizable.getMessageCode() is not available or a localized message which
corresponds to the message code cannot be found or no localization handler is available for message
translation.defaultMessage - Default message to setB messageArguments(Object... arguments)
Arguments resolution process is dependend from concrete localization handler. For example, a predefined argument placeholder character may be used to define arguments substitution positions within the localized message.
arguments - Message localization argumentsCopyright © 2017 The Holon Platform. All rights reserved.