Package com.pnfsoftware.jeb.util.net
Class URLUtil
java.lang.Object
com.pnfsoftware.jeb.util.net.URLUtil
Utility methods to manipulate URLs.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URLUtil
public URLUtil()
-
-
Method Details
-
urlToFile
Convert a URL to a File (via a URI).Strangely enough, this non-trivial operation also depends on the installed JRE (See http://stackoverflow.com/q/6164448/950494 for pointers). The code below requires Java 6. The "Paths" methods is more strict and also requires Java 7.
- Parameters:
url
- a URL- Returns:
-