Class LocalePair
java.lang.Object
org.broadleafcommerce.common.i18n.service.LocalePair
Represents a cached translation pair.
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the language only translation.Retrieve the language and country specific translation.void
setGeneralItem
(StandardCacheItem generalItem) void
setSpecificItem
(StandardCacheItem specificItem)
-
Constructor Details
-
LocalePair
public LocalePair()
-
-
Method Details
-
getSpecificItem
Retrieve the language and country specific translation.- Returns:
-
setSpecificItem
-
getGeneralItem
Retrieve the language only translation.- Returns:
-
setGeneralItem
-