version 1.6, 2001/04/25 22:20:55
|
version 1.7, 2001/04/29 06:26:23
|
|
|
@param filename of second file | @param filename of second file |
ATTN: are filenames local or global??? | ATTN: are filenames local or global??? |
@return Return true if the two files are identical. | @return Return true if the two files are identical. |
|
|
@exception Throws CannotOpenFile if either file cannot be opened. | @exception Throws CannotOpenFile if either file cannot be opened. |
*/ | */ |
|
|
static Boolean compare( | static Boolean compare( |
const String& fileName1, | const String& fileName1, |
const String& fileName2); | const String& fileName2); |
| |
// Rename the given file to the new name: |
/** Rename the given file to the new name. */ |
|
|
static Boolean renameFile( | static Boolean renameFile( |
const String& oldFileName, | const String& oldFileName, |
const String& newFileName); | const String& newFileName); |
| |
// Translate backward slashes to forward slashes: |
/** Translate backward slashes to forward slashes: */ |
|
|
static void translateSlashes(String& path); | static void translateSlashes(String& path); |
|
|
|
/** Returns true is the given directory is empty. */ |
|
static Boolean isDirectoryEmpty(const String& path); |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |