public class I18nMap extends I18nMapCompat
cacheEnabled| Constructor and Description |
|---|
I18nMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
Object |
remove(Object key) |
String |
replace(String messageId,
String arg1)
Gets the message associated with the specified messageId according to the locale in the current FacesContext.
|
String |
replace(String messageId,
String arg1,
String arg2)
Gets the message associated with the specified messageId according to the locale in the current FacesContext.
|
String |
replace(String messageId,
String arg1,
String arg2,
String arg3)
Gets the message associated with the specified messageId according to the locale in the current FacesContext.
|
String |
replace(String messageId,
String arg1,
String arg2,
String arg3,
String arg4)
Gets the message associated with the specified messageId according to the locale in the current FacesContext.
|
int |
size() |
Collection<Object> |
values() |
public void clear()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public boolean isEmpty()
public String replace(String messageId, String arg1)
messageId - The message key.arg1 - The first argument, assuming that the messageId has a {0} token.public String replace(String messageId, String arg1, String arg2)
messageId - The message key.arg1 - The first argument, assuming that the messageId has a {0} token.arg2 - The second argument, assuming that the messageId has a {1} token.public String replace(String messageId, String arg1, String arg2, String arg3)
messageId - The message key.arg1 - The first argument, assuming that the messageId has a {0} token.arg2 - The second argument, assuming that the messageId has a {1} token.arg3 - The third argument, assuming that the messageId has a {2} token.public String replace(String messageId, String arg1, String arg2, String arg3, String arg4)
messageId - The message key.arg1 - The first argument, assuming that the messageId has a {0} token.arg2 - The second argument, assuming that the messageId has a {1} token.arg3 - The third argument, assuming that the messageId has a {2} token.arg4 - The fourth argument, assuming that the messageId has a {3} token.public int size()
public Collection<Object> values()
Copyright © 2016 Liferay, Inc.. All rights reserved.