public class IP2Location
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
IPDatabasePath
Sets the path for the BIN database (IPv4 BIN or IPv4+IPv6 BIN).
|
java.lang.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 java.lang.String IPDatabasePath
public java.lang.String IPLicensePath
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public IPResult IPQuery(java.lang.String IPAddress) throws java.lang.Exception
IPAddress
- IP Address you wish to queryjava.lang.Exception