Package com.atlassian.jira.plugin.icon
Class DefaultSystemIconImageProvider
java.lang.Object
com.atlassian.jira.plugin.icon.DefaultSystemIconImageProvider
- All Implemented Interfaces:
SystemIconImageProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSystemIconInputStream(Avatar icon, Avatar.Size size) Get the input stream for this system icon.static booleanisSvgContentType(String mimeType)
-
Constructor Details
-
DefaultSystemIconImageProvider
public DefaultSystemIconImageProvider()
-
-
Method Details
-
getSystemIconInputStream
@Nonnull public InputStream getSystemIconInputStream(Avatar icon, Avatar.Size size) throws IOException Description copied from interface:SystemIconImageProviderGet the input stream for this system icon.- Specified by:
getSystemIconInputStreamin interfaceSystemIconImageProvider- Parameters:
icon- The icon to get the input stream for.size- The size requested. Note that for SVG icons this can be null.- Returns:
- Returns the input stream for the system icon image data.
- Throws:
IOException- Something went wrong.
-
isSvgContentType
-