Class LocalizationFragment.Localization
java.lang.Object
com.tccc.kos.commons.util.json.fragments.LocalizationFragment.Localization
- Enclosing class:
- LocalizationFragment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the default locale for all the translations in the kab following IETF BCP 47 standards using ISO 639 alpha2 language codes and optional ISO 3166 alpha2 country codes.Return the list of declared translation namespaces.int
hashCode()
void
setDefaultLocale
(String defaultLocale) void
setNamespaces
(Map<String, LocalizationFragment.Namespace> namespaces) toString()
-
Constructor Details
-
Localization
public Localization()
-
-
Method Details
-
getNamespaces
Return the list of declared translation namespaces. -
getDefaultLocale
Return the default locale for all the translations in the kab following IETF BCP 47 standards using ISO 639 alpha2 language codes and optional ISO 3166 alpha2 country codes. These standard dictate lower case language codes, upper case country codes and a dash separator. kOS will accommodate underscores as a common alternative. -
setNamespaces
-
setDefaultLocale
-
equals
-
hashCode
public int hashCode() -
toString
-