@ComponentSpecification public interface NlsMessageFactory
NlsMessage.| Modifier and Type | Method and Description |
|---|---|
NlsMessage |
create(NlsTemplate template)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
Object... messageArguments)
Deprecated.
use
create(NlsTemplate, Map) instead. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
Object... messageArguments)
Deprecated.
use
create(String, Map) instead. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
createDirect(String bundleName,
String key)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
createDirect(String bundleName,
String key,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
@Deprecated NlsMessage create(String internationalizedMessage, Object... messageArguments)
create(String, Map) instead.NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.@Deprecated NlsMessage create(NlsTemplate template, Object... messageArguments)
create(NlsTemplate, Map) instead.NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.NlsMessage create(String internationalizedMessage, String key1, Object argument1)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.NlsMessage instance.NlsMessage create(NlsTemplate template, String key1, Object argument1)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.NlsMessage instance.NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.NlsMessage instance.NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.NlsMessage instance.NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.NlsMessage instance.NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.NlsMessage instance.NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3, String key4, Object argument4)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.key4 - is the key of the fourth argument.argument4 - is the value of the fourth argument.NlsMessage instance.NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3, String key4, Object argument4)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.key4 - is the key of the fourth argument.argument4 - is the value of the fourth argument.NlsMessage instance.NlsMessage create(String internationalizedMessage, Map<String,Object> messageArguments)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.NlsMessage createDirect(String bundleName, String key)
NlsMessage from the given arguments. NlsMessage. It should only be used for specific cases
where both NlsBundle and AbstractResourceBundle are NOT
suitable. Please read net.sf.mmm.util.nls.api as motivation and introduction.bundleName - is the base-name
of the bundle containing the message.key - is the key for the lookup. Will be used as
fallback for the internationalized message.NlsMessage instance.createDirect(String, String, Map)NlsMessage createDirect(String bundleName, String key, Map<String,Object> messageArguments)
NlsMessage from the given arguments. NlsMessage. It should only be used for specific cases
where both NlsBundle and AbstractResourceBundle are NOT
suitable. Please read net.sf.mmm.util.nls.api as motivation and introduction.bundleName - is the base-name
of the bundle containing the message.key - is the key for the lookup. Will be used as
fallback for the internationalized message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.NlsMessage create(NlsTemplate template, Map<String,Object> messageArguments)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.NlsMessage create(String internationalizedMessage)
NlsMessage from the given arguments.internationalizedMessage - is the internationalized
message.NlsMessage instance.NlsMessage create(NlsTemplate template)
NlsMessage from the given arguments.template - is the NlsTemplate for the raw
message.NlsMessage instance.create(NlsTemplate, Map)Copyright © 2001–2016 mmm-Team. All rights reserved.