Class GenerateLocations


  • public class GenerateLocations
    extends java.lang.Object
    Class for generating GPS locations from IP by using Geo2IP API
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String generateGpsLocations​(java.util.HashSet<java.lang.String> ipList)  
      static org.json.simple.JSONArray generateGpsLocationsToJson​(java.util.HashSet<java.lang.String> ipList)  
      static org.json.simple.JSONArray getAllIPsList()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenerateLocations

        public GenerateLocations()
    • Method Detail

      • getAllIPsList

        public static org.json.simple.JSONArray getAllIPsList()
      • generateGpsLocations

        public static java.lang.String generateGpsLocations​(java.util.HashSet<java.lang.String> ipList)
      • generateGpsLocationsToJson

        public static org.json.simple.JSONArray generateGpsLocationsToJson​(java.util.HashSet<java.lang.String> ipList)