Enum CountryCode.Format

    • Enum Constant Detail

      • ISO_3166_1_ALPHA_2

        @ReadMore(caption="What is ISO 3166-1 alpha2?",
                  link="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2")
        public static final CountryCode.Format ISO_3166_1_ALPHA_2
        ISO 3166-1 alpha2 format.
      • ISO_3166_1_ALPHA_3

        @ReadMore(caption="What is ISO 3166-1 alpha3?",
                  link="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3")
        public static final CountryCode.Format ISO_3166_1_ALPHA_3
        ISO 3166-1 alpha3 format.
      • ISO_3166_1_NUMERIC

        @ReadMore(caption="What is ISO 3166-1 numeric?",
                  link="https://en.wikipedia.org/wiki/ISO_3166-1_numeric")
        public static final CountryCode.Format ISO_3166_1_NUMERIC
        ISO 3166-1 numeric format.
    • Method Detail

      • values

        public static CountryCode.Format[] 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 (CountryCode.Format c : CountryCode.Format.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CountryCode.Format 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
      • getType

        public String getType()
      • getDescription

        public String getDescription()
      • getReadMore

        public io.rxmicro.common.meta.ReadMore getReadMore()