The mailbox items reader of Zimbra tgz storage. More...
Inherits IDisposable.
Public Member Functions | |
| System::String | get_CurrentDirectory () const |
| Gets the current directory name. More... | |
| System::SharedPtr< MailMessage > | get_CurrentMessage () const |
| Gets the current message. More... | |
| TgzReader (System::String fileName) | |
| Initializes a new instance of the TgzReader class. More... | |
| TgzReader (System::SharedPtr< System::IO::Stream > stream) | |
| Initializes a new instance of the TgzReader class. More... | |
| void | ExportTo (System::String path) |
| Save messages and directory structure using given path. More... | |
| int32_t | GetTotalItemsCount () |
| Gets the total count of items. More... | |
| bool | ReadNextMessage () |
| Reads the next message. More... | |
| void | Dispose () override |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
| void | SetVentureLicense (System::SharedPtr< VentureLicense > ventureLicense) |
The mailbox items reader of Zimbra tgz storage.
| Aspose::Email::Storage::Zimbra::TgzReader::TgzReader | ( | System::String | fileName | ) |
Initializes a new instance of the TgzReader class.
| fileName | The filename. |
| ArgumentNullException | throws if file name is null or empty |
| Aspose::Email::Storage::Zimbra::TgzReader::TgzReader | ( | System::SharedPtr< System::IO::Stream > | stream | ) |
Initializes a new instance of the TgzReader class.
| stream | The stream. |
| ArgumentNullException | throws if stream is null |
|
override |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| void Aspose::Email::Storage::Zimbra::TgzReader::ExportTo | ( | System::String | path | ) |
Save messages and directory structure using given path.
| path | The main directory path to save storage structure. |
| ArgumentNullException | throws if file name is null or empty |
| System::String Aspose::Email::Storage::Zimbra::TgzReader::get_CurrentDirectory | ( | ) | const |
Gets the current directory name.
The name of directory.
| System::SharedPtr<MailMessage> Aspose::Email::Storage::Zimbra::TgzReader::get_CurrentMessage | ( | ) | const |
Gets the current message.
The MailMessage.
| int32_t Aspose::Email::Storage::Zimbra::TgzReader::GetTotalItemsCount | ( | ) |
Gets the total count of items.
| bool Aspose::Email::Storage::Zimbra::TgzReader::ReadNextMessage | ( | ) |
Reads the next message.
| void Aspose::Email::Storage::Zimbra::TgzReader::SetVentureLicense | ( | System::SharedPtr< VentureLicense > | ventureLicense | ) |