All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.network.mail.base.MimeStreamWriter

public interface MimeStreamWriter
This interface is a subset of MimePart. Thus it will be automatically implemented by all classes implementing MimePart. It has only one method putByteStream which will write the header and the content of this MIME entity as a stream of bytes.

This interface is implemented by MimeBodyPart, MimeMultipart and MimeMessage.

Author:
Abdul Majeed Ghadialy
See Also:
MimePart, MimeBodyPart, MimeMultipart, MimeMessage

Variable Index

 o LINE_SIZE

Method Index

 o putByteStream(OutputStream)
Writes the header and encoded data to the os.

Variables

 o LINE_SIZE
 public static final int LINE_SIZE

Methods

 o putByteStream
 public abstract void putByteStream(OutputStream os) throws IOException
Writes the header and encoded data to the os.

Parameters:
os - OutputStream to write header and content of this part to.
Throws: IOException
in case an IO error is encountered
See Also:
putByteStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index