- setContentId
Sets the MIME header whose name is "Content-ID" with the given value.
- setDataHandler
Sets the given DataHandler object as the data handler for this AttachmentPart
object. Typically, on
- setMimeHeader
Changes the first header entry that matches the given name to the given value,
adding a new header i
- getContentId
Gets the value of the MIME header whose name is "Content-ID".
- getMimeHeader
Gets all the values of the header identified by the given String.
- setContent
Sets the content of this attachment part to that of the given Object and sets
the value of the Conte
- getDataHandler
Gets the DataHandler object for this AttachmentPartobject.
- getContentType
Gets the value of the MIME header whose name is "Content-Type".
- setContentType
Sets the MIME header whose name is "Content-Type" with the given value.
- getAllMimeHeaders
Retrieves all the headers for this AttachmentPart object as an iterator over the
MimeHeader objects.
- getSize
Returns the number of bytes in this AttachmentPartobject.
- addMimeHeader
Adds a MIME header with the specified name and value to this AttachmentPart
object. Note that RFC822