public class DefaultMacroIconManager extends java.lang.Object implements MacroIconManager
Constructor and Description |
---|
DefaultMacroIconManager(HttpRetrievalService httpRetrievalService,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalSmallIconUrl(MacroMetadata macroMetadata)
Retrieve a the Url to a small icon for a macro.
|
java.io.InputStream |
getIconStream(MacroMetadata macroMetadata)
Retrieve an inputStream of the macro's icon.
|
public DefaultMacroIconManager(HttpRetrievalService httpRetrievalService, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator)
public java.lang.String getExternalSmallIconUrl(MacroMetadata macroMetadata)
MacroIconManager
getExternalSmallIconUrl
in interface MacroIconManager
macroMetadata
- the metadata for the macro to retrieve the icon url forpublic java.io.InputStream getIconStream(MacroMetadata macroMetadata)
MacroIconManager
getIconStream
in interface MacroIconManager
macroMetadata
- the metadata for the macroCopyright © 2003-2014 Atlassian. All Rights Reserved.