public class ContentPart
extends java.lang.Object
MimeMessageUtils
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ContentPart()
Creates a new ContentPart object.
|
ContentPart(java.lang.Object pContent,
java.lang.String pContentType)
Creates a new ContentPart object with the given content
and MIME type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent()
Returns the content.
|
java.lang.String |
getContentType()
Returns the MIME type of the content.
|
void |
setContent(java.lang.Object pContent)
Sets the content.
|
void |
setContentType(java.lang.String pContentType)
Sets the MIME type of the content.
|
public ContentPart()
public ContentPart(java.lang.Object pContent, java.lang.String pContentType)
public java.lang.Object getContent()
public void setContent(java.lang.Object pContent)
public java.lang.String getContentType()
public void setContentType(java.lang.String pContentType)