public class IP2Location extends Object
Example usage scenarios:
Requirements: Java SDK 1.4 or later
Copyright (c) 2002-2020 IP2Location.com
| Modifier and Type | Field and Description |
|---|---|
String |
IPDatabasePath
Sets the path for the BIN database (IPv4 BIN or IPv4+IPv6 BIN).
|
String |
IPLicensePath
Sets the path for the license key file.
|
boolean |
UseMemoryMappedFile
To use memory mapped file for faster queries, set to true.
|
| Constructor and Description |
|---|
IP2Location() |
public boolean UseMemoryMappedFile
public String IPDatabasePath
public String IPLicensePath
public void Close()
protected void finalize()
throws Throwable
public IPResult IPQuery(String IPAddress) throws IOException
IPAddress - IP Address you wish to queryIOExceptionCopyright © 2017–2020. All rights reserved.