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
Constructor | Description |
---|---|
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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | The filename. |
TgzReader(System.IO.Stream stream)
public TgzReader(System.IO.Stream stream)
Initializes a new instance of the TgzReader class.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | com.aspose.ms.System.IO.Stream | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
exportTo(String path)
public final void exportTo(String path)
Save messages and directory structure using given path.
Parameters:
Parameter | Type | Description |
---|---|---|
path | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |