public class GeoIPv6 extends Object
| 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(I2PAppContext context,
Long[] search,
Map<String,String> codeCache)Lookup search items in the geoip file. |
public static void main(String[] args)
args - command line argumentspublic static String[] readGeoIPFile(I2PAppContext context, Long[] search, Map<String,String> codeCache)
context - the I2P app contextsearch - a sorted array of IPs to searchcodeCache - the country code cache