public class SimpleEmoticonDisplayMapper extends Object implements EmoticonDisplayMapper
Constructor and Description |
---|
SimpleEmoticonDisplayMapper(com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getAbsoluteImageUrl(Emoticon emoticon)
Get an absolute URL for the emoticon (this will include the servers configured baseURL).
|
String |
getImageName(Emoticon emoticon) |
String |
getRelativeImageUrl(Emoticon emoticon)
Get a relative URL for the emoticon.
|
public SimpleEmoticonDisplayMapper(com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
public String getRelativeImageUrl(Emoticon emoticon)
EmoticonDisplayMapper
getRelativeImageUrl
in interface EmoticonDisplayMapper
emoticon
- the emoticon for which an image URL is required.public String getAbsoluteImageUrl(Emoticon emoticon)
EmoticonDisplayMapper
getAbsoluteImageUrl
in interface EmoticonDisplayMapper
emoticon
- the emoticon for which an image URL is required.public String getImageName(Emoticon emoticon)
getImageName
in interface EmoticonDisplayMapper
emoticon
- the emoticon for which an image name is required.Copyright © 2003–2015 Atlassian. All rights reserved.