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 aLocaleBuilder
for the specified locale.Return the list of locales in the namespace.Return theLocalizationBuilder
this namespace is associated with.getName()
-
Method Details
-
addLocale
Return aLocaleBuilder
for 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 theLocalizationBuilder
this namespace is associated with. -
getName
-