Added getFileURLFromSystemPath() and getSystemPathFromFileURL().
This commit is contained in:
parent
afc02366b2
commit
1979996b3a
1 changed files with 36 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: XFileIdentifierConverter.idl,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: mi $ $Date: 2000-11-08 12:44:52 $
|
||||
* last change: $Author: sb $ $Date: 2000-11-13 11:31:27 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -115,6 +115,40 @@ interface XFileIdentifierConverter : com::sun::star::uno::XInterface
|
|||
*/
|
||||
string getNormalizedPathFromFileURL( [in] string HostName,
|
||||
[in] string URL );
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/** converts a file path in system dependent notation to a (file) URL.
|
||||
|
||||
@param BaseURL
|
||||
the base (file) URL relative to which the file path shall be
|
||||
interpreted.
|
||||
|
||||
@param SystemPath
|
||||
a file path in system dependent notation.
|
||||
|
||||
@returns
|
||||
the URL corresponding to the file path, or an empty string if the file
|
||||
path cannot be converted into a URL.
|
||||
*/
|
||||
string getFileURLFromSystemPath( [in] string BaseURL,
|
||||
[in] string SystemPath );
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/** converts a (file) URL to a file path in system dependent notation.
|
||||
|
||||
@param BaseURL
|
||||
the base (file) URL relative to which the file path shall be
|
||||
interpreted.
|
||||
|
||||
@param URL
|
||||
a URL.
|
||||
|
||||
@returns
|
||||
the file path corresponding to the URL, or an empty string if the URL
|
||||
cannot be converted into a file path.
|
||||
*/
|
||||
string getSystemPathFromFileURL( [in] string BaseURL,
|
||||
[in] string URL );
|
||||
};
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue