Modifier and Type | Method and Description |
---|---|
ContentType |
AttachmentBase.getContentType()
Gets or sets the type of the content.
|
Modifier and Type | Method and Description |
---|---|
static AlternateView |
AlternateView.createAlternateViewFromString(String content,
ContentType contentType)
Creates a AlternateView of using
the content specified in a string.
|
static AlternateView |
AlternateView.createAlternateViewFromString(String content,
ContentType contentType,
int transferencoding)
Creates a AlternateView of using
the content specified in a string.
|
static Attachment |
Attachment.createAttachmentFromString(String content,
ContentType contentType)
Creates the attachment from string.
|
static LinkedResource |
LinkedResource.createLinkedResourceFromString(String content,
ContentType contentType)
Creates the linked resource from string.
|
protected static Charset |
AttachmentBase.getEncodingFromContent(String contentString,
ContentType contentType)
Defines Encoding from content.
|
protected void |
AttachmentBase.setContentFromString(String contentString,
Charset encoding,
ContentType contentType,
int te)
Sets the content from string.
|
void |
AttachmentBase.setContentType(ContentType value)
Gets or sets the type of the content.
|
Constructor and Description |
---|
AlternateView(InputStream contentStream,
ContentType contentType)
Initializes a new instance of the
AlternateView class. |
AlternateView(String fileName,
ContentType contentType)
Initializes a new instance of the
AlternateView class. |
Attachment(InputStream contentStream,
ContentType contentType)
Initializes a new instance of the
Attachment class. |
Attachment(String fileName,
ContentType contentType)
Initializes a new instance of the
Attachment class. |
AttachmentBase(InputStream contentStream,
ContentType contentType)
Initializes a new instance of the
AttachmentBase class. |
AttachmentBase(String fileName,
ContentType contentType)
Initializes a new instance of the
AttachmentBase class. |
LinkedResource(InputStream contentStream,
ContentType contentType)
Initializes a new instance of the
LinkedResource class. |
LinkedResource(String fileName,
ContentType contentType)
Initializes a new instance of the
LinkedResource class. |