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 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.