| Overview | Namespace | Class | Index | Help |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Determines a valid unused canonical name for a requested name. Depending on file system and operation 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 file system and operating system.
| strRequested | Requested name of a file or directory. |
| strValid | On success receives a name which is unused and valid on the actual operating system and file system. |
osl_File_E_None on success otherwise one of the following errorcodes:<p> osl_File_E_INVAL the format of the parameters was not valid<br>
| const ::rtl::OUString & | strDirBase, |
| const ::rtl::OUString & | strRelative, |
| ::rtl::OUString & | strAbsolute ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Converts a file URL relative to a given file directory URL into an full qualified URL.
| strDirBase | Base directory URL to which the relative URL is related to. |
| strRelative[in] | URL of a file or directory relative to the base directory URL specified by <code>strDirBase</code>. |
| strAbsolute | On success it receives the full qualified URL of the requested relative URL. |
E_None on success otherwise one of the following errorcodes:<p> E_INVAL the format of the parameters was not valid<br> E_NOMEM not enough memory for allocating structures <br> E_NOTDIR Not a directory<br> E_ACCES Permission denied<br> E_NOENT No such file or directory<br> E_NAMETOOLONG File name too long<p> These errorcodes can (eventually) be returned:<p> E_OVERFLOW Value too large for defined data type<p> E_FAULT Bad address<br> E_INTR function call was interrupted<br> E_LOOP Too many symbolic links encountered<br> E_MULTIHOP Multihop attempted<br> E_NOLINK Link has been severed<p>
| const ::rtl::OUString & | strFileURL, |
| ::rtl::OUString & | strSystemPath ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Converts a file URL into a full qualified system path
| urlPath[in] | |
| strPath[out] | |
E_None on success otherwise one of the following errorcodes:<p>
E_INVAL the format of the parameters was not valid<br>
| const ::rtl::OUString & | strSystemPath, |
| ::rtl::OUString & | strFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Converts a full qualified system path into a file URL
| dir[in] | |
| strPath[out] | |
E_None on success otherwise one of the following errorcodes:<p>
E_INVAL the format of the parameters was not valid<br>
| const ::rtl::OUString & | strFileName, |
| const ::rtl::OUString & | strSystemSearchPath, |
| ::rtl::OUString & | strFileURL ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | YES | YES | NO |
Searches a full qualified system path / file URL
| filePath[in] | |
| searchPath[in] | |
| strPath[out] | |
E_None on success otherwise one of the following errorcodes:<p>
E_INVAL the format of the parameters was not valid<br>
E_NOTDIR Not a directory<br>
E_NOENT No such file or directory not found<br>
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.