Enum ELocaleName

    • Enum Constant Detail

      • ID_LANGUAGE_ALL

        public static final ELocaleName ID_LANGUAGE_ALL
      • ID_LANGUAGE_INDEPENDENT

        public static final ELocaleName ID_LANGUAGE_INDEPENDENT
    • Method Detail

      • values

        public static ELocaleName[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ELocaleName c : ELocaleName.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ELocaleName valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDisplayText

        @Nullable
        public String getDisplayText​(@Nonnull
                                     Locale aContentLocale)
        Specified by:
        getDisplayText in interface IHasDisplayText
        Parameters:
        aContentLocale - The locale to be used for resolving. May not be null.
        Returns:
        The display text of the object in the given locale. May be null if the text could not be resolved in the passed locale.