com.atlassian.jira.avatar
Class AvatarTaggerImpl
java.lang.Object
com.atlassian.jira.avatar.AvatarTaggerImpl
- All Implemented Interfaces:
- AvatarTagger
public class AvatarTaggerImpl
- extends Object
- implements AvatarTagger
Saves an image as a png with metadata signifying this image is a JIRA Avatar
(used by the email handler to decide whether or not to attach an image)
- Since:
- v6.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMAT_NAME
public static final String FORMAT_NAME
- See Also:
- Constant Field Values
AvatarTaggerImpl
public AvatarTaggerImpl(JiraHome jiraHome)
getAvatarBaseDirectory
public File getAvatarBaseDirectory()
tagAvatar
public String tagAvatar(long id,
String filename)
throws IOException
- Specified by:
tagAvatar
in interface AvatarTagger
- Throws:
IOException
saveTaggedAvatar
public void saveTaggedAvatar(RenderedImage in,
String name,
File file)
throws IOException
- Specified by:
saveTaggedAvatar
in interface AvatarTagger
- Throws:
IOException
Copyright © 2002-2014 Atlassian. All Rights Reserved.