Name
MimeBodyPart
Synopsis
This is an extension of the BodyPart
class to add MIME-related methods.
public class MimeBodyPart extends BodyPart implements MimePart { // Public Constructors public MimeBodyPart(); public MimeBodyPart( java.io.InputStream is) throws MessagingException; public MimeBodyPart(InternetHeaders headers, byte[] content) throws MessagingException; // Public Instance Methods public java.io.InputStream getRawInputStream( // 1.2 ) throws MessagingException; public void setDescription(String description, String charset) throws MessagingException; // Methods Implementing MimePart public void addHeaderLine( String line) throws MessagingException; public java.util.Enumeration getAllHeaderLines( ) throws MessagingException; public String getContentID() throws MessagingException; // default:null public String[] getContentLanguage( // default:null ) throws MessagingException; public String getContentMD5() throws MessagingException; // default:null public String getEncoding() throws MessagingException; // default:null public String getHeader(String name, String delimiter) throws MessagingException; public java.util.Enumeration getMatchingHeaderLines( String[] names) throws MessagingException; public java.util.Enumeration getNonMatchingHeaderLines( String[] names) throws MessagingException; public void setContentLanguage( String[] languages) throws MessagingException; public ...
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.