Package net.ontopia.utils
Class URIUtils
- java.lang.Object
-
- net.ontopia.utils.URIUtils
-
public class URIUtils extends Object
INTERNAL: Utilities for working with URIs.- Since:
- 1.3.2
-
-
Constructor Summary
Constructors Constructor Description URIUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
getURIFile(LocatorIF file)
INTERNAL: Given a URILocator in the file: URI scheme, produce the corresponding File object.static URL
toURL(File file)
INTERNAL: Use this method instead of File.toURL() to get URLs for files.
-
-
-
Method Detail
-
getURIFile
public static File getURIFile(LocatorIF file) throws MalformedURLException
INTERNAL: Given a URILocator in the file: URI scheme, produce the corresponding File object.- Throws:
MalformedURLException
- Since:
- 1.4
-
-