Directory Methods |
The Directory type exposes the following members.
Name | Description | |
---|---|---|
CreateDirectory |
Creates all directories and subdirectories as specified by path.
(Overrides AbstractDirectoryCreateDirectory(String).) | |
CreateDiskDirectoryStructure |
Creates directory structure on disk for given path.
| |
Delete(String) |
Deletes an empty directory.
(Overrides AbstractDirectoryDelete(String).) | |
Delete(String, Boolean) |
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
(Overrides AbstractDirectoryDelete(String, Boolean).) | |
DeleteDirectoryStructure |
Deletes all files in the directory structure. It works also in a shared hosting environment.
(Overrides AbstractDirectoryDeleteDirectoryStructure(String).) | |
Exists |
Determines whether the given path refers to an existing directory on disk.
(Overrides AbstractDirectoryExists(String).) | |
ExistsInFileSystem |
Determines whether the given path refers to an existing directory on file system
| |
ExistsInS3Storage |
Determines whether the given path refers to an existing directory on Amazon S3 storage.
| |
GetAccessControl |
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
(Overrides AbstractDirectoryGetAccessControl(String).) | |
GetCurrentDirectory |
Gets the current working directory of the application.
(Overrides AbstractDirectoryGetCurrentDirectory.) | |
GetDirectories(String) |
Gets the names of subdirectories in the specified directory.
(Overrides AbstractDirectoryGetDirectories(String).) | |
GetDirectories(String, String) |
Gets the names of subdirectories in the specified directory.
(Overrides AbstractDirectoryGetDirectories(String, String).) | |
GetDirectories(String, String, SearchOption) |
Gets the names of the subdirectories (including their paths) that match the specified search
pattern in the current directory, and optionally searches subdirectories.
(Overrides AbstractDirectoryGetDirectories(String, String, SearchOption).) | |
GetFiles(String) |
Returns the names of files (including their paths) in the specified directory.
(Overrides AbstractDirectoryGetFiles(String).) | |
GetFiles(String, String) |
Returns the names of files (including their paths) in the specified directory.
(Overrides AbstractDirectoryGetFiles(String, String).) | |
Move |
Moves directory.
(Overrides AbstractDirectoryMove(String, String).) | |
PrepareFilesForImport |
Prepares files for import. Converts them to lower case.
(Overrides AbstractDirectoryPrepareFilesForImport(String).) |