| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.util.URLUtil |
Utility methods to manipulate URLs.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| URLUtil() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static File |
urlToFile(URL url)
Convert a URL to a File (via a URI).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Convert a URL to a File (via a URI). This is much trickier than it sounds; and it also depends on the installed JRE. See http://stackoverflow.com/q/6164448/950494 for some refs. The code below requires Java 6. The "Paths" methods is more strict and also requires Java 7.