Class UrlUtils


  • public final class UrlUtils
    extends java.lang.Object
    Utility for dealing with URLs in pre-JDK 1.4.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int MASK  
      private static int RADIX  
      private static java.util.BitSet UNRESERVED  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private UrlUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URL toURL​(java.io.File file)  
      • Methods inherited from class java.lang.Object

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

      • UrlUtils

        private UrlUtils()
    • Method Detail

      • toURL

        public static java.net.URL toURL​(java.io.File file)
                                  throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException