Package com.sun.star.lib.util
Class UrlToFileMapper
java.lang.Object
com.sun.star.lib.util.UrlToFileMapper
Maps Java URL representations to File representations, on any Java version.
This used to be used to do URL to File mapping in pre-Java1.4 days, but since
we now require Java 1.5, it is largely unnecessary.
- Since:
- UDK 3.2.8
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
mapUrlToFile
(URL url) Maps Java URL representations to File representations.
-
Method Details
-
mapUrlToFile
Maps Java URL representations to File representations.- Parameters:
url
- some URL, possibly null.- Returns:
- a corresponding File, or null on failure.
-