#include <fileSystem.h>
Public Types | |
Enums | |
enum | { MAX_FILENAME_LENGTH = 256, MAX_PATH_LENGTH = BALL_PATH_MAX } |
Static Public Member Functions | |
Static methods | |
void | canonizePath (String &path) throw () |
Convert a given filename to a canonical name. | |
String | baseName (const String &filename) |
Return the base name of a file. | |
String | path (const String &filename) |
Return the path to a file. | |
Static Public Attributes | |
Char Constants | |
const char | PATH_SEPARATOR |
The character separating directories in a path. | |
const char *const | CURRENT_DIRECTORY |
The string used to indicate the current directory. | |
const char *const | PARENT_DIRECTORY |
The string indicating the parent directory. |
The method ( canonizePath ) is mainly used by File to obtain a unique and unambiguous representation of a path.
|
|
|
Return the base name of a file. This strips the path from the filename, i.e. everything before and including the last occurence of PATH_SEPARATOR . |
|
Convert a given filename to a canonical name.
This method creates a unique and unambiguous representation of any absolute or relative path. It expands the user's homedirectory ( |
|
Return the path to a file. This method returns the path to a file, i.e. everything up to and including the last occurence of PATH_SEPARATOR . |
|
The string used to indicate the current directory.
This is usually |
|
The string indicating the parent directory.
This is usually |
|
The character separating directories in a path.
This is usually |