Class TMemDirectory
Unit
Declaration
type TMemDirectory = class(TMultiFileContainer)
Description
Directory structure in memory
Hierarchy
- TMultiFileContainer
- TMemDirectory
Overview
Methods
constructor Create(AParentDirectory: TMemDirectory = nil); |
|
function AddDirectory(AName: utf8string; AExtension: utf8string= ''; ACaseSensitive: boolean= true): integer; |
|
class function CheckHeader(AStream: TStream): boolean; static; |
|
function Equals(Obj: TObject): boolean; override; |
|
function FindEntry(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectoryEntry; |
|
function FindPath(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectory; |
|
function Rename(AName: utf8string; AExtension: utf8string; ANewName: utf8string; ACaseSensitive: boolean= true): boolean; |
|
function CreateEntry(AName: utf8string; AExtension: utf8string; AContent: TStream): TMultiFileEntry; override; |
|
function SplitPath(APath: utf8string): TMemDirectoryPath; |
|
procedure CopyTo(ADest: TMemDirectory; ARecursive: boolean); |
|
procedure LoadFromEmbeddedStream(ARootStream, ADataStream: TStream; AStartPos: int64); |
|
procedure LoadFromStream(AStream: TStream); override; |
|
procedure SaveToEmbeddedStream(ARootDest, ADataDest: TStream; AStartPos: int64); |
|
procedure SaveToStream(ADestination: TStream); override; |
Properties
property Directory[AIndex: integer]: TMemDirectory read GetDirectory; |
|
property IsDirectory[AIndex: integer]: boolean read GetIsDirectory; |
|
property IsEntryCompressed[AIndex: integer]: boolean read GetEntryCompressed write SetEntryCompressed; |
|
property ParentDirectory: TMemDirectory read FParentDirectory; |
Description
Methods
constructor Create(AParentDirectory: TMemDirectory = nil); |
|
This item has no description. |
function AddDirectory(AName: utf8string; AExtension: utf8string= ''; ACaseSensitive: boolean= true): integer; |
|
This item has no description. |
class function CheckHeader(AStream: TStream): boolean; static; |
|
This item has no description. |
function Equals(Obj: TObject): boolean; override; |
|
This item has no description. |
function FindEntry(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectoryEntry; |
|
This item has no description. |
function FindPath(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectory; |
|
This item has no description. |
function Rename(AName: utf8string; AExtension: utf8string; ANewName: utf8string; ACaseSensitive: boolean= true): boolean; |
|
This item has no description. |
function CreateEntry(AName: utf8string; AExtension: utf8string; AContent: TStream): TMultiFileEntry; override; |
|
This item has no description. |
function SplitPath(APath: utf8string): TMemDirectoryPath; |
|
This item has no description. |
procedure CopyTo(ADest: TMemDirectory; ARecursive: boolean); |
|
This item has no description. |
procedure LoadFromEmbeddedStream(ARootStream, ADataStream: TStream; AStartPos: int64); |
|
This item has no description. |
procedure LoadFromStream(AStream: TStream); override; |
|
This item has no description. |
procedure SaveToEmbeddedStream(ARootDest, ADataDest: TStream; AStartPos: int64); |
|
This item has no description. |
procedure SaveToStream(ADestination: TStream); override; |
|
This item has no description. |
Properties
property Directory[AIndex: integer]: TMemDirectory read GetDirectory; |
|
This item has no description. |
property IsDirectory[AIndex: integer]: boolean read GetIsDirectory; |
|
This item has no description. |
property IsEntryCompressed[AIndex: integer]: boolean read GetEntryCompressed write SetEntryCompressed; |
|
This item has no description. |
property ParentDirectory: TMemDirectory read FParentDirectory; |
|
This item has no description. |