com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class TgzReader

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public class TgzReader
    extends Object
    implements com.aspose.ms.System.IDisposable

    The mailbox items reader of Zimbra tgz storage.

    See Also:
    IDisposable
    • Constructor Detail

      • TgzReader

        public TgzReader(String fileName)

        Initializes a new instance of the TgzReader class.

        Parameters:
        fileName - The filename.
        Throws:
        com.aspose.ms.System.ArgumentNullException - throws if file name is null or empty
    • Method Detail

      • getCurrentDirectory

        public final String getCurrentDirectory()

        Gets the current directory name.

        Value: The name of directory.
      • getCurrentMessage

        public final MailMessage getCurrentMessage()

        Gets the current message.

        Value: The MailMessage.
      • exportTo

        public final void exportTo(String path)

        Save messages and directory structure using given path.

        Parameters:
        path - The main directory path to save storage structure.
        Throws:
        com.aspose.ms.System.ArgumentNullException - throws if file name is null or empty
      • readNextMessage

        public final boolean readNextMessage()

        Reads the next message.

        Returns:
      • dispose

        public final void dispose()

        Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.