Class ICAOCountry

  • All Implemented Interfaces:
    Serializable

    public class ICAOCountry
    extends net.sf.scuba.data.Country
    Special ICAO countries not covered in ISOCountry. Contributed by Aleksandar Kamburov (wise_guybg).
    Version:
    $Revision: 1765 $
    Author:
    The JMRTD team ([email protected])
    See Also:
    Serialized Form
    • Method Detail

      • getInstance

        public static net.sf.scuba.data.Country getInstance​(String alpha3Code)
        Returns an ICAO country instance.
        Parameters:
        alpha3Code - a three-digit ICAO country code
        Returns:
        an ICAO country
      • valueOf

        public int valueOf()
        Specified by:
        valueOf in class net.sf.scuba.data.Country
      • getName

        public String getName()
        Returns the full name of the country.
        Specified by:
        getName in class net.sf.scuba.data.Country
        Returns:
        a country name
      • getNationality

        public String getNationality()
        Returns the adjectival form corresponding to the country.
        Specified by:
        getNationality in class net.sf.scuba.data.Country
        Returns:
        the nationality
      • toAlpha2Code

        public String toAlpha2Code()
        Returns the two-digit country code.
        Specified by:
        toAlpha2Code in class net.sf.scuba.data.Country
        Returns:
        a two-digit country code
      • toAlpha3Code

        public String toAlpha3Code()
        Returns the three-digit country code.
        Specified by:
        toAlpha3Code in class net.sf.scuba.data.Country
        Returns:
        a three-digit country code