public class IMAPBodyPart extends MimeBodyPart implements ReadableMime
Modifier and Type | Method and Description |
---|---|
void |
addHeader(java.lang.String name,
java.lang.String value) |
void |
addHeaderLine(java.lang.String line) |
java.util.Enumeration |
getAllHeaderLines() |
java.util.Enumeration |
getAllHeaders() |
java.lang.String |
getContentID() |
java.lang.String |
getContentMD5() |
java.lang.String |
getContentType() |
javax.activation.DataHandler |
getDataHandler() |
java.lang.String |
getDescription() |
java.lang.String |
getDisposition() |
java.lang.String |
getEncoding() |
java.lang.String |
getFileName() |
java.lang.String[] |
getHeader(java.lang.String name) |
int |
getLineCount() |
java.util.Enumeration |
getMatchingHeaderLines(java.lang.String[] names) |
java.util.Enumeration |
getMatchingHeaders(java.lang.String[] names) |
java.io.InputStream |
getMimeStream()
Return the MIME format stream corresponding to this message part.
|
java.util.Enumeration |
getNonMatchingHeaderLines(java.lang.String[] names) |
java.util.Enumeration |
getNonMatchingHeaders(java.lang.String[] names) |
int |
getSize() |
void |
removeHeader(java.lang.String name) |
void |
setContent(Multipart mp) |
void |
setContent(java.lang.Object o,
java.lang.String type) |
void |
setContentMD5(java.lang.String md5) |
void |
setDataHandler(javax.activation.DataHandler content) |
void |
setDescription(java.lang.String description,
java.lang.String charset) |
void |
setDisposition(java.lang.String disposition) |
void |
setFileName(java.lang.String filename) |
void |
setHeader(java.lang.String name,
java.lang.String value) |
public int getSize() throws MessagingException
MessagingException
public int getLineCount() throws MessagingException
MessagingException
public java.lang.String getContentType() throws MessagingException
MessagingException
public java.lang.String getDisposition() throws MessagingException
MessagingException
public void setDisposition(java.lang.String disposition) throws MessagingException
MessagingException
public java.lang.String getEncoding() throws MessagingException
MessagingException
public java.lang.String getContentID() throws MessagingException
MessagingException
public java.lang.String getContentMD5() throws MessagingException
MessagingException
public void setContentMD5(java.lang.String md5) throws MessagingException
MessagingException
public java.lang.String getDescription() throws MessagingException
MessagingException
public void setDescription(java.lang.String description, java.lang.String charset) throws MessagingException
MessagingException
public java.lang.String getFileName() throws MessagingException
MessagingException
public void setFileName(java.lang.String filename) throws MessagingException
MessagingException
public java.io.InputStream getMimeStream() throws MessagingException
getMimeStream
in interface ReadableMime
MessagingException
public javax.activation.DataHandler getDataHandler() throws MessagingException
MessagingException
public void setDataHandler(javax.activation.DataHandler content) throws MessagingException
MessagingException
public void setContent(java.lang.Object o, java.lang.String type) throws MessagingException
MessagingException
public void setContent(Multipart mp) throws MessagingException
MessagingException
public java.lang.String[] getHeader(java.lang.String name) throws MessagingException
MessagingException
public void setHeader(java.lang.String name, java.lang.String value) throws MessagingException
MessagingException
public void addHeader(java.lang.String name, java.lang.String value) throws MessagingException
MessagingException
public void removeHeader(java.lang.String name) throws MessagingException
MessagingException
public java.util.Enumeration getAllHeaders() throws MessagingException
MessagingException
public java.util.Enumeration getMatchingHeaders(java.lang.String[] names) throws MessagingException
MessagingException
public java.util.Enumeration getNonMatchingHeaders(java.lang.String[] names) throws MessagingException
MessagingException
public void addHeaderLine(java.lang.String line) throws MessagingException
MessagingException
public java.util.Enumeration getAllHeaderLines() throws MessagingException
MessagingException
public java.util.Enumeration getMatchingHeaderLines(java.lang.String[] names) throws MessagingException
MessagingException
public java.util.Enumeration getNonMatchingHeaderLines(java.lang.String[] names) throws MessagingException
MessagingException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"