Class IpInfoConverter

    • Constructor Summary

      Constructors 
      Constructor Description
      IpInfoConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.Class<IpInfo> type)  
      org.json.JSONObject convert​(IpInfo input)  
      • Methods inherited from class java.lang.Object

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

      • IpInfoConverter

        public IpInfoConverter()
    • Method Detail

      • canConvert

        public boolean canConvert​(java.lang.Class<IpInfo> type)
        Specified by:
        canConvert in interface Converter<IpInfo,​org.json.JSONObject>
      • convert

        public org.json.JSONObject convert​(IpInfo input)
        Specified by:
        convert in interface Converter<IpInfo,​org.json.JSONObject>