Class UrlToFileMapper

java.lang.Object
com.sun.star.lib.util.UrlToFileMapper

public final class UrlToFileMapper extends Object
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 Details

    • mapUrlToFile

      public static File mapUrlToFile(URL url)
      Maps Java URL representations to File representations.
      Parameters:
      url - some URL, possibly null.
      Returns:
      a corresponding File, or null on failure.