public class ProfilePictureInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADGS_ANONYMOUS_PROFILE_PATH |
static String |
ADGS_DEFAULT_PROFILE_PATH |
static ProfilePictureInfo |
ANONYMOUS_PROFILE
Deprecated.
since 5.10
|
static String |
ANONYMOUS_PROFILE_PATH
Deprecated.
since 6.7 use
ADGS_ANONYMOUS_PROFILE_PATH |
static ProfilePictureInfo |
DEFAULT_PROFILE
Deprecated.
since 5.10
|
static String |
DEFAULT_PROFILE_PATH
Deprecated.
since 6.7 use
ADGS_DEFAULT_PROFILE_PATH |
Constructor and Description |
---|
ProfilePictureInfo(Attachment attachment) |
ProfilePictureInfo(com.atlassian.plugins.avatar.Avatar userAvatar) |
ProfilePictureInfo(String downloadPath) |
ProfilePictureInfo(String downloadPath,
String contentType,
boolean external) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getBytes() |
String |
getContentType() |
String |
getDownloadPath()
Deprecated.
since 5.10 use
getUriReference() |
String |
getFileName() |
String |
getUriReference() |
boolean |
isAnonymousPicture() |
boolean |
isDefault() |
boolean |
isExternal() |
boolean |
isUploaded() |
@Deprecated public static final String DEFAULT_PROFILE_PATH
ADGS_DEFAULT_PROFILE_PATH
@Deprecated public static final String ANONYMOUS_PROFILE_PATH
ADGS_ANONYMOUS_PROFILE_PATH
public static final String ADGS_DEFAULT_PROFILE_PATH
public static final String ADGS_ANONYMOUS_PROFILE_PATH
@Deprecated public static final ProfilePictureInfo ANONYMOUS_PROFILE
@Deprecated public static final ProfilePictureInfo DEFAULT_PROFILE
public ProfilePictureInfo(String downloadPath)
public ProfilePictureInfo(String downloadPath, String contentType, boolean external)
public ProfilePictureInfo(Attachment attachment)
public ProfilePictureInfo(com.atlassian.plugins.avatar.Avatar userAvatar)
public String getFileName()
@Deprecated public String getDownloadPath()
getUriReference()
public String getUriReference()
public boolean isUploaded()
public boolean isDefault()
public boolean isAnonymousPicture()
public String getContentType()
public boolean isExternal()
public InputStream getBytes() throws IOException
IOException
Copyright © 2003–2020 Atlassian. All rights reserved.