Package com.atlassian.jira.plugin.icon
Interface SystemIconImageProvider
- All Known Implementing Classes:
DefaultSystemIconImageProvider
@ExperimentalSpi
public interface SystemIconImageProvider
An implementation that can provide image data for system icons. This allows icon types to define how they
provide system icons.
- Since:
- v7.1
-
Method Summary
Modifier and TypeMethodDescriptiongetSystemIconInputStream(Avatar icon, Avatar.Size size) Get the input stream for this system icon.
-
Method Details
-
getSystemIconInputStream
@Nonnull InputStream getSystemIconInputStream(@Nonnull Avatar icon, @Nonnull Avatar.Size size) throws IOException Get the input stream for this system icon.- 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.
-