public class DefaultSystemIconImageProvider extends Object implements SystemIconImageProvider
Constructor and Description |
---|
DefaultSystemIconImageProvider() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getSystemIconInputStream(Avatar icon,
Avatar.Size size)
Get the input stream for this system icon.
|
static boolean |
isSvgContentType(String mimeType) |
@Nonnull public InputStream getSystemIconInputStream(Avatar icon, Avatar.Size size) throws IOException
SystemIconImageProvider
getSystemIconInputStream
in interface SystemIconImageProvider
icon
- The icon to get the input stream for.size
- The size requested. Note that for SVG icons this can be null.IOException
- Something went wrong.public static boolean isSvgContentType(String mimeType)
Copyright © 2002-2021 Atlassian. All Rights Reserved.