| Overview | Namespace | Class | Index | Help |
| const ::rtl::OUString & | ustrRequestedURL, |
| ::rtl::OUString & | ustrValidURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Determine a valid unused canonical name for a requested name.
Determines a valid unused canonical name for a requested name.
Depending on the Operating System and the File System the illegal characters are replaced by valid ones.
If a file or directory with the requested name already exists a new name is generated following
the common rules on the actual Operating System and File System.
| ustrRequestedURL | |
| pustrValidURL | |
E_None on success
E_INVAL the format of the parameters was not valid
| const ::rtl::OUString & | ustrBaseDirectoryURL, |
| const ::rtl::OUString & | ustrRelativeFileURL, |
| ::rtl::OUString & | ustrAbsoluteFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Convert a path relative to a given directory into an full qualified file URL.
Convert a path relative to a given directory into an full qualified file URL.
The function resolves symbolic links if possible and path ellipses, so on success
the resulting absolute path is fully resolved.
| ustrBaseDirectoryURL | |
| ustrRelativeFileURL | |
| ustrAbsoluteFileURL | |
E_None on success
E_INVAL the format of the parameters was not valid
E_NOMEM not enough memory for allocating structures
E_NOTDIR not a directory
E_ACCES permission denied
E_NOENT no such file or directory
E_NAMETOOLONG file name too long
E_OVERFLOW value too large for defined data type
E_FAULT bad address
E_INTR function call was interrupted
E_LOOP too many symbolic links encountered
E_MULTIHOP multihop attempted
E_NOLINK link has been severed
| const ::rtl::OUString & | ustrFileURL, |
| ::rtl::OUString & | ustrSystemPath ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Convert a file URL into a system dependend path.
| ustrFileURL | |
| ustrSystemPath | |
E_None on success
E_INVAL the format of the parameters was not valid
| const ::rtl::OUString & | ustrSystemPath, |
| ::rtl::OUString & | ustrFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Convert a system dependend path into a file URL.
| ustrSystemPath | |
| ustrFileURL | |
E_None on success
E_INVAL the format of the parameters was not valid
| const ::rtl::OUString & | ustrFileName, |
| const ::rtl::OUString & | ustrSearchPath, |
| ::rtl::OUString & | ustrFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Searche a full qualified system path or a file URL.
| ustrFileName | |
| ustrSearchPath | |
| ustrFileURL | |
E_None on success
E_INVAL the format of the parameters was not valid
E_NOTDIR not a directory
E_NOENT no such file or directory not found
| ::rtl::OUString & | ustrTempDirURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Retrieves the file URL of the system's temporary directory path.
| ustrTempDirURL[out] | |
E_None on success
E_NOENT no such file or directory not found
| ::rtl::OUString * | pustrDirectoryURL, |
| oslFileHandle * | pHandle, |
| ::rtl::OUString * | pustrTempFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Creates a temporary file in the directory provided by the caller or the directory returned by getTempDirURL. Under UNIX Operating Systems the file will be created with read and write access for the user exclusively. If the caller requests only a handle to the open file but not the name of it, the file will be automatically removed on close else the caller is responsible for removing the file on success.<br><br>
| pustrDirectoryURL | |
| pHandle | |
| pustrTempFileURL | On success receives the full qualified URL of the temporary file. If pustrTempFileURL is 0 the file will be automatically removed on close, in this case pHandle must not be 0. If pustrTempFileURL is not 0 the caller receives the name of the created file and is responsible for removing the file. |
E_None on success
E_INVAL the format of the parameter is invalid
E_NOMEM not enough memory for allocating structures
E_ACCES Permission denied
E_NOENT No such file or directory
E_NOTDIR Not a directory
E_ROFS Read-only file system
E_NOSPC No space left on device
E_DQUOT Quota exceeded
Copyright © 2003 Sun Microsystems, Inc.