Package org.joinfaces.i18n
Class MessageSourceBridge
This class wraps an
MessageSource
and exposes it through the
Map API
so it can be easily accessed from JSF.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorDescriptionMessageSourceBridge
(MessageSource messageSource) MessageSourceBridge
(MessageSourceAccessor messageSourceAccessor) -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MessageSourceBridge
-
MessageSourceBridge
public MessageSourceBridge() -
MessageSourceBridge
-
-
Method Details
-
get
-
entrySet
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classAbstractMap<String,
String>
-
setMessageSourceAccessor
-