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, writeTovoid addHeaderLine(String line) throws MessagingException
MessagingExceptionEnumeration getAllHeaderLines() throws MessagingException
MessagingExceptionString getContentID() throws MessagingException
MessagingExceptionString[] getContentLanguage() throws MessagingException
MessagingExceptionString getContentMD5() throws MessagingException
MessagingExceptionString getEncoding() throws MessagingException
MessagingExceptionString getHeader(String header, String delimiter) throws MessagingException
MessagingExceptionEnumeration getMatchingHeaderLines(String[] names) throws MessagingException
MessagingExceptionEnumeration getNonMatchingHeaderLines(String[] names) throws MessagingException
MessagingExceptionvoid setContentLanguage(String[] languages) throws MessagingException
MessagingExceptionvoid setContentMD5(String content) throws MessagingException
MessagingExceptionvoid setText(String text) throws MessagingException
setText in interface PartMessagingExceptionvoid setText(String text, String charset) throws MessagingException
MessagingExceptionvoid setText(String text, String charset, String subType) throws MessagingException
MessagingExceptionCopyright © 2013. All Rights Reserved.