package com.fos.demo.geoip;



import com.fos.core.geoip.IPSeeker;

public class DemoIPSeeker {

    public static void main(String[] args) {
        // TODO Auto-generated method stub

//        String country = IPSeeker.getInstance().getCountry("117.13.240.11");
//        System.out.println(IPSeeker.getInstance().getCountry("221.226.36.201"));
        System.out.println(IPSeeker.getAddress("221.226.36.201"));
        
//        List<IPEntry> enties = IPSeeker.getInstance().getIPEntriesDebug(null);
//        System.out.println("KK:"+enties.size());
//        for(IPEntry entity:enties){
//            System.out.println("KK:"+entity.country+"\t"+entity.area);
//            System.exit(0);
//        }
    }

}
