Package | Description |
---|---|
com.atlassian.jira.mail.util |
Modifier and Type | Method and Description |
---|---|
static MailAttachment |
MailAttachments.newAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager) |
static MailAttachment |
MailAttachments.newAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager,
Avatar.Size size)
Creates an image attachment from provided avatar.
|
static MailAttachment |
MailAttachments.newImageAttachment(String imagePath,
AvatarTranscoder avatarTranscoder)
Creates an image attachment from provided path.
|
static MailAttachment |
MailAttachments.newMailAttachmentByStreamingFromAttachmentManager(Attachment attachment,
AttachmentManager attachmentManager)
Create a new mail attachment by streaming the content of the attachment from the attachment manager.
|
static MailAttachment |
MailAttachments.newMailAttachmentByStreamingFromThumbnailManager(Attachment attachment,
ThumbnailManager thumbnailManager)
Create a new mail attachment by streaming the content of a thumbnail from the thumbnail manager.
|
static MailAttachment |
MailAttachments.newTranscodedAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager) |
static MailAttachment |
MailAttachments.newTranscodedAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager,
Avatar.Size size)
Creates an image attachment from provided avatar via
AvatarTranscoderImpl to get the image in raster fromat. |
static MailAttachment |
MailAttachments.newUrlImageAttachment(String imagePath)
Creates an image attachment from provided URL.
|
Modifier and Type | Method and Description |
---|---|
String |
MailAttachmentsManager.addAttachmentAndReturnCid(MailAttachment mailAttachment)
Adds an attachment to the mail attachments manager's collection of attachments.
|
String |
MailAttachmentsManagerImpl.addAttachmentAndReturnCid(MailAttachment mailAttachment) |
Copyright © 2002-2017 Atlassian. All Rights Reserved.