Name

BodyPart

Synopsis

The abstract BodyPart class allows manipulation of a Part contained within a Multipart object. Like a Part, it contains attributes and content. BodyPart also provides a reference to the Multipart object that contains it.

                  Passed To
public abstract class BodyPart implements Part {
// Public Constructors
   public BodyPart();  
// Public Instance Methods
   public Multipart getParent();  
// Methods Implementing Part
   public abstract void addHeader(String header_name, 
        String header_value) throws MessagingException;  
   public abstract java.util.Enumeration getAllHeaders(
        ) throws MessagingException;  
   public abstract Object getContent(
        ) throws IOExceptionMessagingException;  
   public abstract String getContentType(
        ) throws MessagingException;  
   public abstract javax.activation.DataHandler getDataHandler(
        ) throws MessagingException;  
   public abstract String getDescription(
        ) throws MessagingException;  
   public abstract String getDisposition(
        ) throws MessagingException;  
   public abstract String getFileName(
        ) throws MessagingException;  
   public abstract String[] getHeader(
        String header_name) throws MessagingException;  
   public abstract java.io.InputStream getInputStream(
        ) throws IOExceptionMessagingException;  
   public abstract int getLineCount(
        ) throws MessagingException;  
   public abstract java.util.Enumeration getMatchingHeaders(
        String[] header_names) throws MessagingException; public abstract java.util.Enumeration ...

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.