MboxStorageWriter

Inheritance: java.lang.Object

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

public abstract class MboxStorageWriter implements System.IDisposable, Closeable

A base class for any mbox-based mail storage writer.

Methods

Method Description
close()
dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
flush() flush.
getBaseStream() Gets the base stream.
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
writeMessage(MailMessage message) Writes the message to underlying storage stream.
writeMessage(MailMessage message, String[] fromMarker) Writes the message to underlying storage 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

flush()

public void flush()

flush.

getBaseStream()

public InputStream getBaseStream()

Gets the base stream.

Value: The base stream.

Returns: java.io.InputStream

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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

writeMessage(MailMessage message)

public abstract void writeMessage(MailMessage message)

Writes the message to underlying storage stream.

Parameters:

Parameter Type Description
message MailMessage The message to write to.

writeMessage(MailMessage message, String[] fromMarker)

public abstract void writeMessage(MailMessage message, String[] fromMarker)

Writes the message to underlying storage stream.

Parameters:

Parameter Type Description
message MailMessage The message to write to.
fromMarker java.lang.String[] Gets the From Marker while writing the MBox Storage file.