| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.service.email.ContentPart
public class ContentPart
A data structure corresponding to a body part in a javax.mail.Message. Contains the content of the body part, as well as the MIME type of the content.
MimeMessageUtils| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Constructor Summary | |
|---|---|
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.  | 
|
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public ContentPart()
public ContentPart(java.lang.Object pContent,
                   java.lang.String pContentType)
| Method Detail | 
|---|
public java.lang.Object getContent()
public void setContent(java.lang.Object pContent)
public java.lang.String getContentType()
public void setContentType(java.lang.String pContentType)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||