Class CDALocale

  • All Implemented Interfaces:
    java.io.Serializable

    public class CDALocale
    extends CDAResource
    Represents a single locale.
    See Also:
    Serialized Form
    • Constructor Detail

      • CDALocale

        public CDALocale()
    • Method Detail

      • code

        public java.lang.String code()
        Returns:
        code of this locale. ('en-US' or similar).
      • name

        public java.lang.String name()
        Returns:
        human readable name of this locale.
      • fallbackLocaleCode

        public java.lang.String fallbackLocaleCode()
        Returns:
        the code of a locale to be used for falling back.
      • isDefaultLocale

        public boolean isDefaultLocale()
        Returns:
        true if this is the default locale.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CDAResource
        Returns:
        a human readable string, representing the object.