Class Continent


public final class Continent extends AbstractNamedRecord

Contains data for the continent record associated with an IP address.

Do not use any of the continent names as a database or map key. Use the value returned by AbstractNamedRecord.getGeoNameId() or getCode() instead.

  • Constructor Details

  • Method Details

    • getCode

      public String getCode()
      Returns:
      A two character continent code like "NA" (North America) or "OC" (Oceania).