public class Ip2RegionHandler extends Object implements Ip2RegionOfflineHandler
| 构造器和说明 |
|---|
Ip2RegionHandler(String ip,
byte[] vectorIndex,
String databasePath) |
| 限定符和类型 | 方法和说明 |
|---|---|
AddressInfo |
getAddress()
获取地址
|
String |
getCity()
获得城市
|
String |
getCountry()
获取国家
|
String |
getProvince()
获得省份
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLatitude, getLongitudepublic String getCountry() throws Exception
Ip2RegionOfflineHandlergetCountry 在接口中 Ip2RegionOfflineHandlerExceptionpublic String getProvince() throws Exception
Ip2RegionOfflineHandlergetProvince 在接口中 Ip2RegionOfflineHandlerExceptionpublic String getCity() throws Exception
Ip2RegionOfflineHandlergetCity 在接口中 Ip2RegionOfflineHandlerExceptionpublic AddressInfo getAddress() throws Exception
Ip2RegionOfflineHandlergetAddress 在接口中 Ip2RegionOfflineHandlerExceptionCopyright © 2023. All rights reserved.