version 1.31, 2003/12/08 21:29:01
|
version 1.32, 2004/03/16 23:05:00
|
|
|
*/ | */ |
static Boolean changeFilePermissions(const String& path, mode_t mode); | static Boolean changeFilePermissions(const String& path, mode_t mode); |
| |
|
/** |
|
Return OS path specific delimiter. |
|
|
|
@return delimiter specific to the platform |
|
*/ |
|
static String getPathDelimiter(); |
|
|
|
/** |
|
Returns the absolute pathname for the specified filename. |
|
|
|
@param paths directories seperated by an OS specific delimiter to search |
|
@param filename filename to search for in the paths |
|
|
|
@return the full absolute pathname to the found filename or an empty |
|
string on failure. |
|
*/ |
|
static String getAbsoluteFileName(const String &paths, const String &filename); |
|
|
private: | private: |
| |
FileSystem() { } | FileSystem() { } |
|
|
return !!os; | return !!os; |
} | } |
| |
|
inline String FileSystem::getPathDelimiter() |
|
{ |
|
#if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) |
|
return String(";"); |
|
#else |
|
return String(":"); |
|
#endif |
|
} |
|
|
/** Get the next line from the input file. | /** Get the next line from the input file. |
*/ | */ |
PEGASUS_COMMON_LINKAGE Boolean GetLine(PEGASUS_STD(istream)& is, String& line); | PEGASUS_COMMON_LINKAGE Boolean GetLine(PEGASUS_STD(istream)& is, String& line); |