Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Provides some classes to handle virtual file systems, especially with packages. For packages, see also TAdFileStreamEx in AdFileStreamEx.pas.
Name | Description |
---|---|
Class EAdFileLockedException |
|
Class EAdFileStreamReadOnlyException |
|
Class EAdUnknownPackageFormatException |
|
Class EAdUnknownCompressionException |
|
Class TAdFileMemStream |
A file stream which is returned by TAdFile.GetStream. |
Class TAdFile |
A virtual file in a virtual file system. |
Class TAdDirectory |
A virtual directory used in virtual file systems. |
Class TAdPackageMap |
A special map that allows the file controller to free all the packages when it is destroyed by providing a list of all its elements. |
Class TAdWrappedFileName |
A key class for a map. |
Class TAdCompression |
An abstract class that provides compression and decompression methods. |
Class TAdPackage |
A package is an archive file like a tar file. |
Class TAdFileControl |
The file control handles connections between virtual file systems and the physical file system, for example by providing methods for loading and unloading packages It also provides general methods for processing files such as compressing and decompressing and information about the operating system's file system, such as whether file names are case-sensitive. |
function FileSizeToStr(const FileSize: Int64): String; |
function IsPathDelimiter(const AChar: Char): Boolean; |
TAdCompressionClass = class of TAdCompression; |
TAdPackageClass = class of TAdPackage; |
PATHDELIMS = ['/', '\']; |
FileControl: TAdFileControl; |
function FileSizeToStr(const FileSize: Int64): String; |
Converts a file size in byte to a string (GB is the highest unit) |
function IsPathDelimiter(const AChar: Char): Boolean; |
Determines whether the given character is a path delimiter on any known platform. |
TAdCompressionClass = class of TAdCompression; |
TAdPackageClass = class of TAdPackage; |
PATHDELIMS = ['/', '\']; |
FileControl: TAdFileControl; |