Class SiteInfoConverter


  • public class SiteInfoConverter
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void convertToBin​(java.lang.String input, java.io.OutputStream out)  
      static void convertToJson​(byte[] input, java.io.OutputStream out)  
      static java.lang.String convertToJson​(SiteInfo site)  
      static SiteInfo convertToSiteInfo​(java.lang.String input)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • SiteInfoConverter

        public SiteInfoConverter()
    • Method Detail

      • convertToJson

        public static java.lang.String convertToJson​(SiteInfo site)
      • convertToSiteInfo

        public static SiteInfo convertToSiteInfo​(java.lang.String input)
      • convertToJson

        public static void convertToJson​(byte[] input,
                                         java.io.OutputStream out)
                                  throws HandleException,
                                         java.io.IOException
        Throws:
        HandleException
        java.io.IOException
      • convertToBin

        public static void convertToBin​(java.lang.String input,
                                        java.io.OutputStream out)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)