Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous

UrlToFileMapper (Java UNO Runtime Reference)
UDK 3.2.7 Java API Reference

com.sun.star.lib.util
Class UrlToFileMapper

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

public final class UrlToFileMapper
extends Object

Maps Java URL representations to File representations, on any Java version.

Since:
UDK 3.2.8

Method Summary
static File mapUrlToFile(URL url)
          Maps Java URL representations to File representations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

UDK 3.2.7 Java API Reference

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.