Class TgzReader

TgzReader class

The mailbox items reader of Zimbra tgz storage.

public class TgzReader : IDisposable

Constructors

NameDescription
TgzReader(Stream)Initializes a new instance of the TgzReader class.
TgzReader(string)Initializes a new instance of the TgzReader class.

Properties

NameDescription
CurrentDirectory { get; }Gets the current directory name.
CurrentMessage { get; }Gets the current message.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
ExportTo(string)Save messages and directory structure using given path.
ExportToAsync(string, CancellationToken)Save messages and directory structure using given path.
GetTotalItemsCount()Gets the total count of items.
ReadNextMessage()Reads the next message.

See Also