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