@ParametersAreNonnullByDefault public class MailImageInlinerImpl extends Object implements MailImageInliner
MailImageInliner.InlinedEmailBody| Constructor and Description |
|---|
MailImageInlinerImpl(ApplicationProperties applicationProperties,
AvatarService avatarService,
AvatarTranscoder avatarTranscoder,
UserManager userManager,
AvatarManager avatarManager,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager) |
| Modifier and Type | Method and Description |
|---|---|
MailImageInliner.InlinedEmailBody |
inlineImages(String html)
Tries to inline all the images specified by an IMG tag.
|
MailImageInliner.InlinedEmailBody |
inlineImages(String html,
Issue issue)
Tries to inline all the images specified by an IMG tag.
|
public MailImageInlinerImpl(ApplicationProperties applicationProperties, AvatarService avatarService, AvatarTranscoder avatarTranscoder, UserManager userManager, AvatarManager avatarManager, AttachmentManager attachmentManager, ThumbnailManager thumbnailManager)
@Nonnull public MailImageInliner.InlinedEmailBody inlineImages(String html)
MailImageInlinerMailImageInliner.inlineImages(String, Issue) in order to inline attachments related to an issue.inlineImages in interface MailImageInlinerhtml - HTML to change.MailImageInliner.InlinedEmailBody to represent the new email body, fully inlined@Nonnull public MailImageInliner.InlinedEmailBody inlineImages(String html, Issue issue)
MailImageInlinerIssue.getAttachments()
that are contained within the provided html.inlineImages in interface MailImageInlinerhtml - HTML to change.issue - Issue that is related to HTML that contains required attachmentsMailImageInliner.InlinedEmailBody to represent the new email body, fully inlinedCopyright © 2002-2019 Atlassian. All Rights Reserved.