public class DefaultMacroIconManager extends 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 | 
|---|---|
| String | getExternalSmallIconUrl(MacroMetadata macroMetadata)Retrieve a the Url to a small icon for a macro. | 
| 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 String getExternalSmallIconUrl(MacroMetadata macroMetadata)
MacroIconManagergetExternalSmallIconUrl in interface MacroIconManagermacroMetadata - the metadata for the macro to retrieve the icon url forpublic InputStream getIconStream(MacroMetadata macroMetadata)
MacroIconManagergetIconStream in interface MacroIconManagermacroMetadata - the metadata for the macroCopyright © 2003–2017 Atlassian. All rights reserved.