Class LocalizationBuilder.NamespaceBuilder
java.lang.Object
com.tccc.kos.commons.core.localization.LocalizationBuilder.NamespaceBuilder
- Enclosing class:
- LocalizationBuilder
Builder for a namespace within a
LocalizationBuilder .-
Method Summary
Modifier and TypeMethodDescriptionReturn aLocaleBuilderfor the specified locale.Return the list of locales in the namespace.Return theLocalizationBuilderthis namespace is associated with.getName()
-
Method Details
-
addLocale
Return aLocaleBuilderfor the specified locale. Returns the existing builder if one already exists. The locale will be normalized before it is used.- Parameters:
locale- the name of the locale
-
getLocales
Return the list of locales in the namespace. -
getLocalization
Return theLocalizationBuilderthis namespace is associated with. -
getName
-