public interface MimePart extends Part
ATTACHMENT, INLINE
Modifier and Type | Method and Description |
---|---|
void |
addHeaderLine(String line) |
Enumeration |
getAllHeaderLines() |
String |
getContentID() |
String[] |
getContentLanguage() |
String |
getContentMD5() |
String |
getEncoding() |
String |
getHeader(String header,
String delimiter) |
Enumeration |
getMatchingHeaderLines(String[] names) |
Enumeration |
getNonMatchingHeaderLines(String[] names) |
void |
setContentLanguage(String[] languages) |
void |
setContentMD5(String content) |
void |
setText(String text) |
void |
setText(String text,
String charset) |
void |
setText(String text,
String charset,
String subType) |
addHeader, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getSize, isMimeType, removeHeader, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setHeader, writeTo
void addHeaderLine(String line) throws MessagingException
MessagingException
Enumeration getAllHeaderLines() throws MessagingException
MessagingException
String getContentID() throws MessagingException
MessagingException
String[] getContentLanguage() throws MessagingException
MessagingException
String getContentMD5() throws MessagingException
MessagingException
String getEncoding() throws MessagingException
MessagingException
String getHeader(String header, String delimiter) throws MessagingException
MessagingException
Enumeration getMatchingHeaderLines(String[] names) throws MessagingException
MessagingException
Enumeration getNonMatchingHeaderLines(String[] names) throws MessagingException
MessagingException
void setContentLanguage(String[] languages) throws MessagingException
MessagingException
void setContentMD5(String content) throws MessagingException
MessagingException
void setText(String text) throws MessagingException
setText
in interface Part
MessagingException
void setText(String text, String charset) throws MessagingException
MessagingException
void setText(String text, String charset, String subType) throws MessagingException
MessagingException
Copyright © 2013. All Rights Reserved.