public class GeoIPv6 extends Object
| Constructor and Description |
|---|
GeoIPv6() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Merge and compress CSV files to I2P compressed format
GeoIPv6 infile1.csv[.gz] [infile2.csv[.gz]...] outfile.dat.gz
Used to create the file for distribution, do not comment out
|
static String[] |
readGeoIPFile(net.i2p.I2PAppContext context,
Long[] search,
Map<String,String> codeCache)
Lookup search items in the geoip file.
|
public static String[] readGeoIPFile(net.i2p.I2PAppContext context, Long[] search, Map<String,String> codeCache)
search - a sorted array of IPs to searchpublic static void main(String[] args)