Interface IconConverter


public interface IconConverter
Turns a server icon image into the base64 form the status ping expects.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    convert(File icon)
    Converts an icon file.
  • Method Details

    • convert

      @Nullable String convert(File icon)
      Converts an icon file.
      Parameters:
      icon - the image on disk
      Returns:
      the encoded icon, or null if the file is missing or not a usable image