public class MimeContent
extends java.lang.Object
| Constructor and Description |
|---|
MimeContent()
Initializes a new instance of the MimeContent class.
|
MimeContent(java.lang.String text)
Initializes a new instance of the MimeContent class.
|
MimeContent(java.lang.String text,
java.lang.String characterSet)
Initializes a new instance of the MimeContent class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharacterSet()
Gets the International Standards Organization (ISO) name of the character set used in the MIME message.
|
java.lang.String |
getText()
Gets a text value that represents a base64Binary MIME stream is required if this element is used.
|
void |
setCharacterSet(java.lang.String characterSet)
Sets the International Standards Organization (ISO) name of the character set used in the MIME message.
|
void |
setText(java.lang.String text)
Sets a text value that represents a base64Binary MIME stream is required if this element is used.
|
public MimeContent()
public MimeContent(java.lang.String text)
text - the textpublic MimeContent(java.lang.String text,
java.lang.String characterSet)
text - the textcharacterSet - the character setpublic java.lang.String getText()
public void setText(java.lang.String text)
text - the new textpublic java.lang.String getCharacterSet()
public void setCharacterSet(java.lang.String characterSet)
characterSet - the new character set