@ExperimentalApi public static class

MailImageInliner.InlinedEmailBody

extends Object
java.lang.Object
   ↳ com.atlassian.jira.mail.MailImageInliner.InlinedEmailBody

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

A small wrapper that contains the HTML string after it has had images inlined, as well as the BodyPart's that represent the inlined image attachments, to use when constructing an email body.

Only useful as a return type for MailImageInliner to contain both the html and the attachment parts.

Summary

Public Methods
@Nonnull Iterable<BodyPart> getBodyParts()
Return the iterable of body parts that have been constructed with a content-id to unqiquely represent the attachments
@Nonnull String getHtml()
Return the inlined HTML
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public Iterable<BodyPart> getBodyParts ()

Return the iterable of body parts that have been constructed with a content-id to unqiquely represent the attachments

Returns
  • The iterable of body parts, can not be null but can be empty

@Nonnull public String getHtml ()

Return the inlined HTML

Returns
  • The inlined HTML, can not be null