Path Class |
Namespace: CMS.IO
public static class Path
The Path type exposes the following members.
Name | Description | |
---|---|---|
Combine(String) |
Combines an array of strings into a path.
| |
Combine(String, String) |
Combines two strings into a path.
| |
EnsureBackslashes |
Ensures that path contains backslashes '\'
| |
EnsureEndBackslash |
Ensures that path ends with backslash '\'
| |
EnsureSlashes |
Ensures that path contains slashes '/'
| |
FindExistingDirectory |
Finds the existing folder based on the given relative path
| |
FindExistingFile |
Finds the existing file based on the given relative path
| |
GetDirectoryName |
Gets the directory name from the given path
| |
GetExtension |
Returns the extension of the specified path string.
| |
GetFileName |
Gets the file name from the given path
| |
GetFileNameWithoutExtension |
Returns the file name of the specified path string without the extension.
| |
GetFullPath |
Returns the absolute path for the specified path string.
| |
GetMappedPath |
Gets the mapped path for the given path. Returns true if the path was mapped
| |
HasExtension |
Determines whether a path includes a file name extension.
| |
IsPathMapped |
Returns true, if the given path is a mapped path
| |
IsPathRooted |
Gets a value indicating whether the specified path string contains absolute or relative path information.
| |
RegisterMappedPath |
Maps the folder to another folder
| |
RegisterMappedZippedFolder |
Registers folder which is mapped to a zip file
|