DirectoryEntry

Overview

DirectoryEntry is a class in Aspose.Email FOSS for Python.

Fixed-size directory record for one storage/stream object and its tree links.

Properties

NameTypeAccessDescription
stream_idStreamIdReadIs the identifier of the stream associated with this entry
namestrReadIs the Unicode name of the directory entry
directory_entry_name_lengthintReadIs the length of the entry name in characters
object_typeDirectoryObjectTypeReadIndicates the entry type (storage, stream, root) via DirectoryObjectType
color_flagDirectoryColorFlagReadStores the red/black tree color flag used for entry ordering
left_sibling_idStreamIdReadIs the stream identifier of the left sibling in the directory tree
right_sibling_idStreamIdRead
child_idStreamIdReadIs the stream identifier of the first child entry
clsidbytesReadHolds the 16‑byte class identifier associated with the entry
state_bitsintReadContains state flag bits for the entry (e.g., hidden, read‑only)
creation_timeFileTimeReadRecords the file time when the entry was created
modified_timeFileTimeReadRecords the file time when the entry was last modified
starting_sector_locationSectorNumberReadIs the sector number where the entry’s data begins
stream_sizeintReadIs the size in bytes of the stream data for this entry

Methods

SignatureDescription
is_storage()boolReturns True if the entry represents a storage object
is_stream()boolReturns True if the entry represents a stream object
is_root()boolReturns True if the entry is the root storage of the CFB file

See Also