LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies methods to convert between (file) URLs and file paths in system dependent notation. More...
import"XFileIdentifierConverter.idl";
Public Member Functions | |
long | getFileProviderLocality ([in] string BaseURL) |
Get information about the "locality" of a file content provider. More... | |
string | getFileURLFromSystemPath ([in] string BaseURL, [in] string SystemPath) |
converts a file path in system dependent notation to a (file) URL. More... | |
string | getSystemPathFromFileURL ([in] string URL) |
converts a (file) URL to a file path in system dependent notation. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
specifies methods to convert between (file) URLs and file paths in system dependent notation.
long getFileProviderLocality | ( | [in] string | BaseURL | ) |
Get information about the "locality" of a file content provider.
The returned information can be used to choose the "best" among a number of file content providers implementing this interface.
BaseURL | the base (file) URL used to specify a file content provider. |
string getFileURLFromSystemPath | ( | [in] string | BaseURL, |
[in] string | SystemPath | ||
) |
converts a file path in system dependent notation to a (file) URL.
BaseURL | the base (file) URL relative to which the file path shall be interpreted. |
SystemPath | a file path in system dependent notation. |
string getSystemPathFromFileURL | ( | [in] string | URL | ) |
converts a (file) URL to a file path in system dependent notation.
URL | a (file) URL. |