TgzReader

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public class TgzReader implements System.IDisposable, Closeable

The mailbox items reader of Zimbra tgz storage.

Constructors

ConstructorDescription
TgzReader(String fileName)Initializes a new instance of the TgzReader class.
TgzReader(System.IO.Stream stream)Initializes a new instance of the TgzReader class.

Methods

MethodDescription
close()
dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
exportTo(String path)Save messages and directory structure using given path.
getClass()
getCurrentDirectory()Gets the current directory name.
getCurrentMessage()Gets the current message.
getTotalItemsCount()Gets the total count of items.
hashCode()
notify()
notifyAll()
readNextMessage()Reads the next message.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TgzReader(String fileName)

public TgzReader(String fileName)

Initializes a new instance of the TgzReader class.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe filename.

TgzReader(System.IO.Stream stream)

public TgzReader(System.IO.Stream stream)

Initializes a new instance of the TgzReader class.

Parameters:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.StreamThe stream.

close()

public void close()

dispose()

public final void dispose()

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

exportTo(String path)

public final void exportTo(String path)

Save messages and directory structure using given path.

Parameters:

ParameterTypeDescription
pathjava.lang.StringThe main directory path to save storage structure.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrentDirectory()

public final String getCurrentDirectory()

Gets the current directory name.

Value: The name of directory.

Returns: java.lang.String

getCurrentMessage()

public final MailMessage getCurrentMessage()

Gets the current message.

Value: The MailMessage.

Returns: MailMessage

getTotalItemsCount()

public final int getTotalItemsCount()

Gets the total count of items.

Returns: int - An integer representing the total count of items.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

readNextMessage()

public final boolean readNextMessage()

Reads the next message.

Returns: boolean -

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int