Name

MimePartDataSource

Synopsis

A utility class that implements the javax.activation.DataSource using the contents of a MimePart object.

                  Passed To
public class MimePartDataSource implements javax.activation.DataSource, MessageAware {
// Public Constructors
   public MimePartDataSource( MimePart part);  
// Public Instance Methods
   public String getContentType();  
   public java.io.InputStream getInputStream(
        ) throws IOException;  
   public String getName();  
   public java.io.OutputStream getOutputStream(
        ) throws IOException;  
// Methods Implementing MessageAware
   public MessageContext getMessageContext();                    // synchronized
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.