public interface AvatarTagger
| Modifier and Type | Field and Description |
|---|---|
static String |
AVATAR_SYSTEM_IMAGE_TYPE |
static String |
JIRA_SYSTEM_IMAGE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
saveTaggedAvatar(RenderedImage image,
String name,
File file)
Adds JIRA specific metadata to given image.
|
void |
saveTaggedAvatar(RenderedImage image,
String targetFormat,
OutputStream target)
Adds JIRA specific metadata to given image.
|
void |
tag(InputStream inputStream,
OutputStream outputStream)
Add JIRA specific metadata to given file.
|
String |
tagAvatar(long id,
String filename)
Adds JIRA specific metadata to all avatar thumbnails.
|
void |
tagSingleAvatarFile(File source,
File destination)
Add JIRA specific metadata to given file.
|
static final String JIRA_SYSTEM_IMAGE_TYPE
static final String AVATAR_SYSTEM_IMAGE_TYPE
void saveTaggedAvatar(RenderedImage image, String name, File file) throws IOException
image - to be taggedname - of the imagefile - in which the tagged image will be savedIOExceptionString tagAvatar(long id, String filename) throws IOException
id - of the avatarfilename - of the avatar main imageIOExceptionvoid saveTaggedAvatar(RenderedImage image, String targetFormat, OutputStream target) throws IOException
image - to be taggedtargetFormat - in which image will be savedtarget - output in which the tagged image will be savedIOExceptionvoid tagSingleAvatarFile(File source, File destination) throws IOException
source - file to be taggeddestination - in which the tagged file will be savedIOExceptionvoid tag(InputStream inputStream, OutputStream outputStream) throws IOException
inputStream - pointing to the source which will be taggedoutputStream - pointing where the tagged file should be writtenIOExceptionCopyright © 2002-2016 Atlassian. All Rights Reserved.