Class UrlUtils


  • public final class UrlUtils
    extends java.lang.Object
    Utility for dealing with URLs in pre-JDK 1.4.
    • 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
    • Method Detail

      • toURL

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