All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.network.mail.base.MimeEncoder

public interface MimeEncoder
This interface will be implemented by all the MIME encoder classes. It provides simple extensibility for adding new MIME encoding algorithms.

Author:
Abdul Majeed Ghadialy

Method Index

 o encode(InputStream, OutputStream)
Encodes the data available in specified InputStream and writes the encoded output to specified OutputStream.

Methods

 o encode
 public abstract void encode(InputStream in,
                             OutputStream out) throws Exception
Encodes the data available in specified InputStream and writes the encoded output to specified OutputStream.

Parameters:
in - InputStream containing data to be encoded.
out - OutputStream to which encoded output will be written.
Throws: Exception
in case an error occurred while encoding.

All Packages  Class Hierarchy  This Package  Previous  Next  Index