Interface IconManager

  • All Known Implementing Classes:
    IconManagerImpl

    public interface IconManager
    Interface which exposes methods for retrieving Icon Libraries (as SVG Strings) and information about the Icon Libraries (such as the icon names within an Icon Library)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getLibraries()
      Fetch a map of all icon library names and their respective icon names
      java.util.Optional<java.lang.String> getLibrary​(java.lang.String name)
      Fetch the raw icon library as an SVG String
    • Method Detail

      • getLibraries

        @Nonnull
        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getLibraries()
        Fetch a map of all icon library names and their respective icon names
        Returns:
        The map of all icon library names and their respective icon names
      • getLibrary

        @Nonnull
        java.util.Optional<java.lang.String> getLibrary​(@Nullable
                                                        java.lang.String name)
        Fetch the raw icon library as an SVG String
        Parameters:
        name - The name of the icon library to fetch
        Returns:
        An optional String whose contents are an SVG containing the library's icons, or an empty Optional if an icon library with the given name does not exist