Class Favicon


  • public class Favicon
    extends Object
    Favicon shown in the server list.
    • Method Detail

      • getFaviconTypeAdapter

        public static com.google.gson.TypeAdapter<Favicon> getFaviconTypeAdapter()
      • create

        @Deprecated
        public static Favicon create​(String encodedString)
        Deprecated.
        Use #create(java.awt.image.BufferedImage) instead
        Creates a Favicon from an encoded PNG.
        Parameters:
        encodedString - a base64 mime encoded PNG string
        Returns:
        the created favicon
      • getEncoded

        @NonNull
        public @NonNull String getEncoded()
        The base64 encoded favicon, including MIME header.