The FileUtility type exposes the following members.
Methods | Name | Description |
---|
| DeepCopy | |
| GetAbsolutePath |
Combines baseDirectoryPath with relPath and normalizes the resulting path.
|
| GetCommonBaseDirectory | |
| GetRelativePath |
Converts a given absolute path and a given base path to a path that leads
from the base path to the absoulte path. (as a relative path)
|
| IsBaseDirectory | |
| IsDirectory | |
| IsEqualFileName(FileName, FileName) | |
| IsEqualFileName(String, String) | |
| IsUrl | |
| IsValidDirectoryEntryName |
Checks that a single directory name (not the full path) is valid.
|
| IsValidPath |
This method checks if a path (full or relative) is valid.
|
| LazySearchDirectory | |
| MatchesPattern | |
| NormalizePath |
Gets the normalized version of fileName.
Slashes are replaced with backslashes, backreferences "." and ".." are 'evaluated'.
|
| ObservedLoad(FileOperationDelegate, FileName, FileErrorPolicy) | |
| ObservedLoad(NamedFileOperationDelegate, FileName, FileErrorPolicy) | |
| ObservedLoad(FileOperationDelegate, FileName, String, FileErrorPolicy) | |
| ObservedLoad(NamedFileOperationDelegate, FileName, String, FileErrorPolicy) | |
| ObservedSave(FileOperationDelegate, FileName, FileErrorPolicy) | |
| ObservedSave(NamedFileOrFolderOperationDelegate, PathName, FileErrorPolicy) | |
| ObservedSave(FileOperationDelegate, PathName, String, FileErrorPolicy) | |
| ObservedSave(NamedFileOrFolderOperationDelegate, PathName, String, FileErrorPolicy) | |
| RaiseFileSaved | |
| RenameBaseDirectory | |
| TestFileExists | |
TopSee Also