Skip navigation links
C D E F G I O R T U 

C

CIDRToIPv4(String) - Method in class com.ip2location.IPTools
This function returns the IPv4 range for a CIDR.
CIDRToIPv6(String) - Method in class com.ip2location.IPTools
This function returns the IPv6 range for a CIDR.
Close() - Method in class com.ip2location.IP2Location
This function destroys the mapped bytes.
com.ip2location - package com.ip2location
Provides classes for the IP2Location Java Component.
CompressIPv6(String) - Method in class com.ip2location.IPTools
This function returns the compressed form of the IPv6.
Country - Class in com.ip2location
This class parses country information CSV and returns the country information.
Country(String) - Constructor for class com.ip2location.Country
This constructor reads the country information CSV and store the parsed info.

D

DecimalToIPv4(BigInteger) - Method in class com.ip2location.IPTools
This function converts IP number to IPv4.
DecimalToIPv6(BigInteger) - Method in class com.ip2location.IPTools
This function converts IP number to IPv6.

E

ExpandIPv6(String) - Method in class com.ip2location.IPTools
This function returns the expanded form of the IPv6.

F

finalize() - Method in class com.ip2location.IP2Location
Deprecated. 

G

getAddressType() - Method in class com.ip2location.IPResult
This method to get address type.
getAreaCode() - Method in class com.ip2location.IPResult
This method to get the varying length number assigned to geographic areas for call between cities.
getAS() - Method in class com.ip2location.IPResult
This method to get autonomous system (AS).
getASN() - Method in class com.ip2location.IPResult
This method to get autonomous system number (ASN).
getCategory() - Method in class com.ip2location.IPResult
This method to get IAB category.
getCity() - Method in class com.ip2location.IPResult
This method to get city name.
GetCountryInfo(String) - Method in class com.ip2location.Country
This function gets the country information for the supplied country code.
GetCountryInfo() - Method in class com.ip2location.Country
This function gets the country information for all countries.
getCountryLong() - Method in class com.ip2location.IPResult
This method to get country name based on ISO 3166.
getCountryShort() - Method in class com.ip2location.IPResult
This method to get two-character country code based on ISO 3166.
GetCredit() - Method in class com.ip2location.IP2LocationWebService
This function to check web service credit balance.
getDelay() - Method in class com.ip2location.IPResult
This method to get component delay.
getDistrict() - Method in class com.ip2location.IPResult
This method to get district.
getDomain() - Method in class com.ip2location.IPResult
This method to get IP internet domain name associated to IP address range.
getElevation() - Method in class com.ip2location.IPResult
This method to get city elevation.
getIDDCode() - Method in class com.ip2location.IPResult
This method to get the IDD prefix to call the city from another country.
getISP() - Method in class com.ip2location.IPResult
This method to get Internet Service Provider (ISP) name.
getLatitude() - Method in class com.ip2location.IPResult
This method to get city latitude.
getLongitude() - Method in class com.ip2location.IPResult
This method to get city longitude.
getMCC() - Method in class com.ip2location.IPResult
This method to get the mobile country code.
getMNC() - Method in class com.ip2location.IPResult
This method to get the mobile network code.
getMobileBrand() - Method in class com.ip2location.IPResult
This method to get the mobile brand.
getNetSpeed() - Method in class com.ip2location.IPResult
This method to get internet connection speed (DIAL) DIAL-UP,(DSL) DSL/CABLE or(COMP) COMPANY
getRegion() - Method in class com.ip2location.IPResult
This method to get region or state name.
GetRegionCode(String, String) - Method in class com.ip2location.Region
This function gets the region code for the supplied country code and region name.
getStatus() - Method in class com.ip2location.IPResult
This method to get status code of query.
getTimeZone() - Method in class com.ip2location.IPResult
This method to get UTC time zone.
getUsageType() - Method in class com.ip2location.IPResult
This method to get usage type.
getVersion() - Method in class com.ip2location.IPResult
This method to get component version.
getWeatherStationCode() - Method in class com.ip2location.IPResult
This method to get the special code to identify the nearest weather observation station.
getWeatherStationName() - Method in class com.ip2location.IPResult
This method to get the name of the nearest weather observation station.
getZipCode() - Method in class com.ip2location.IPResult
This method to get ZIP/Postal code.

I

IP2Location - Class in com.ip2location
This class performs the lookup of IP2Location data from an IP address by reading a BIN file.
IP2Location() - Constructor for class com.ip2location.IP2Location
 
IP2LocationWebService - Class in com.ip2location
This class performs the lookup of IP2Location data from an IP address by querying the IP2Location Web Service.
IP2LocationWebService() - Constructor for class com.ip2location.IP2LocationWebService
 
IPDatabasePath - Variable in class com.ip2location.IP2Location
Sets the path for the BIN database (IPv4 BIN or IPv4+IPv6 BIN).
IPLicensePath - Variable in class com.ip2location.IP2Location
Sets the path for the license key file.
IPQuery(String) - Method in class com.ip2location.IP2Location
This function to query IP2Location data.
IPQuery(String) - Method in class com.ip2location.IP2LocationWebService
This function to query IP2Location data.
IPQuery(String, String) - Method in class com.ip2location.IP2LocationWebService
This function to query IP2Location data.
IPQuery(String, String[], String) - Method in class com.ip2location.IP2LocationWebService
This function to query IP2Location data.
IPResult - Class in com.ip2location
This class is used to store the geolocation data that is returned by the IP2Location class.
IPTools - Class in com.ip2location
This class contains IP address related tools.
IPTools() - Constructor for class com.ip2location.IPTools
 
IPv4ToCIDR(String, String) - Method in class com.ip2location.IPTools
This function returns the CIDR for an IPv4 range.
IPv4ToDecimal(String) - Method in class com.ip2location.IPTools
This function converts IPv4 to IP number.
IPv6ToCIDR(String, String) - Method in class com.ip2location.IPTools
This function returns the CIDR for an IPv6 range.
IPv6ToDecimal(String) - Method in class com.ip2location.IPTools
This function converts IPv6 to IP number.
IsIPv4(String) - Method in class com.ip2location.IPTools
This function checks if the string contains an IPv4 address.
IsIPv6(String) - Method in class com.ip2location.IPTools
This function checks if the string contains an IPv6 address.

O

Open(String) - Method in class com.ip2location.IP2Location
This function can be used to pre-load the BIN file.
Open(String, boolean) - Method in class com.ip2location.IP2Location
This function can be used to initialize the component with params and pre-load the BIN file.
Open(byte[]) - Method in class com.ip2location.IP2Location
 
Open(String, String) - Method in class com.ip2location.IP2LocationWebService
This function initializes the params for the web service.
Open(String, String, boolean) - Method in class com.ip2location.IP2LocationWebService
This function initializes the params for the web service.

R

Region - Class in com.ip2location
This class parses region information CSV and returns the region code.
Region(String) - Constructor for class com.ip2location.Region
This constructor reads the region information CSV and store the parsed info.

T

toString() - Method in class com.ip2location.IPResult
This method to return all the fields.

U

UseMemoryMappedFile - Variable in class com.ip2location.IP2Location
To use memory mapped file for faster queries, set to true.
C D E F G I O R T U 
Skip navigation links

Copyright © 2017–2023. All rights reserved.