Package org.apache.tiles.request.locale
Class LocaleUtil
java.lang.Object
org.apache.tiles.request.locale.LocaleUtil
Utilities for locale manipulation.
- 
Method SummaryModifier and TypeMethodDescriptionstatic LocalegetParentLocale(Locale locale) Returns the "parent" locale of a given locale.
- 
Method Details- 
getParentLocaleReturns the "parent" locale of a given locale. If the original locale is only language-based, the Locale.ROOTobject is returned.- Parameters:
- locale- The original locale.
- Returns:
- The parent locale.
 
 
-