public interface MimePart extends Part
ATTACHMENT, INLINE
Modifier and Type | Method and Description |
---|---|
void |
addHeaderLine(java.lang.String line) |
java.util.Enumeration |
getAllHeaderLines() |
java.lang.String |
getContentID() |
java.lang.String[] |
getContentLanguage() |
java.lang.String |
getContentMD5() |
java.lang.String |
getEncoding() |
java.lang.String |
getHeader(java.lang.String header,
java.lang.String delimiter) |
java.util.Enumeration |
getMatchingHeaderLines(java.lang.String[] names) |
java.util.Enumeration |
getNonMatchingHeaderLines(java.lang.String[] names) |
void |
setContentLanguage(java.lang.String[] languages) |
void |
setContentMD5(java.lang.String content) |
void |
setText(java.lang.String text) |
void |
setText(java.lang.String text,
java.lang.String charset) |
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(java.lang.String line) throws MessagingException
MessagingException
java.util.Enumeration getAllHeaderLines() throws MessagingException
MessagingException
java.lang.String getContentID() throws MessagingException
MessagingException
java.lang.String[] getContentLanguage() throws MessagingException
MessagingException
java.lang.String getContentMD5() throws MessagingException
MessagingException
java.lang.String getEncoding() throws MessagingException
MessagingException
java.lang.String getHeader(java.lang.String header, java.lang.String delimiter) throws MessagingException
MessagingException
java.util.Enumeration getMatchingHeaderLines(java.lang.String[] names) throws MessagingException
MessagingException
java.util.Enumeration getNonMatchingHeaderLines(java.lang.String[] names) throws MessagingException
MessagingException
void setContentLanguage(java.lang.String[] languages) throws MessagingException
MessagingException
void setContentMD5(java.lang.String content) throws MessagingException
MessagingException
void setText(java.lang.String text) throws MessagingException
setText
in interface Part
MessagingException
void setText(java.lang.String text, java.lang.String charset) throws MessagingException
MessagingException