Class NetUtil


  • public final class NetUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.chrisnewland.freelogj.Logger logger  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NetUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean fetchBinary​(java.lang.String url, java.nio.file.Path targetPath)  
      static java.lang.String fetchURL​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

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

      • logger

        private static final com.chrisnewland.freelogj.Logger logger
    • Constructor Detail

      • NetUtil

        private NetUtil()
    • Method Detail

      • fetchURL

        public static java.lang.String fetchURL​(java.lang.String url)
      • fetchBinary

        public static boolean fetchBinary​(java.lang.String url,
                                          java.nio.file.Path targetPath)