Class URLUtil

java.lang.Object
org.jruby.util.URLUtil

public class URLUtil extends Object
All this because URL.getPath sucks, and we can't re-open classes in Java ;-). See also: http://weblogs.java.net/blog/2007/04/25/how-convert-javaneturl-javaiofile http://stackoverflow.com/questions/18520972/converting-java-file-url-to-file-path-platform-independent-including-u
  • Constructor Details

    • URLUtil

      public URLUtil()
  • Method Details

    • getPath

      public static String getPath(URL url)
    • getPlatformPath

      public static String getPlatformPath(URL url)