public class IPResult extends Object
Requirements: Java SDK 1.4 or later
Copyright (c) 2002-2020 IP2Location.com
| Modifier and Type | Method and Description |
|---|---|
String |
getAreaCode()
This method to get the varying length number assigned to geographic areas for call between cities.
|
String |
getCity()
This method to get city name.
|
String |
getCountryLong()
This method to get country name based on ISO 3166.
|
String |
getCountryShort()
This method to get two-character country code based on ISO 3166.
|
boolean |
getDelay()
This method to get component delay.
|
String |
getDomain()
This method to get IP internet domain name associated to IP address range.
|
float |
getElevation()
This method to get city elevation.
|
String |
getIDDCode()
This method to get the IDD prefix to call the city from another country.
|
String |
getISP()
This method to get Internet Service Provider (ISP) name.
|
float |
getLatitude()
This method to get city latitude.
|
float |
getLongitude()
This method to get city longitude.
|
String |
getMCC()
This method to get the mobile country code.
|
String |
getMNC()
This method to get the mobile network code.
|
String |
getMobileBrand()
This method to get the mobile brand.
|
String |
getNetSpeed()
This method to get internet connection speed (DIAL) DIAL-UP,(DSL) DSL/CABLE or(COMP) COMPANY
|
String |
getRegion()
This method to get region or state name.
|
String |
getStatus()
This method to get status code of query.
|
String |
getTimeZone()
This method to get UTC time zone.
|
String |
getUsageType()
This method to get usage type.
|
String |
getVersion()
This method to get component version.
|
String |
getWeatherStationCode()
This method to get the special code to identify the nearest weather observation station.
|
String |
getWeatherStationName()
This method to get the name of the nearest weather observation station.
|
String |
getZipCode()
This method to get ZIP/Postal code.
|
String |
toString()
This method to return all the fields.
|
public String getCountryShort()
public String getCountryLong()
public String getRegion()
public String getCity()
public String getISP()
public float getLatitude()
public float getLongitude()
public String getDomain()
public String getZipCode()
public String getTimeZone()
public String getNetSpeed()
public String getIDDCode()
public String getAreaCode()
public String getWeatherStationCode()
public String getWeatherStationName()
public String getMCC()
public String getMNC()
public String getMobileBrand()
public float getElevation()
public String getUsageType()
public String getStatus()
public boolean getDelay()
public String getVersion()
Copyright © 2017–2020. All rights reserved.