BundleIcon

public class BundleIcon

Represents an icon of a bundle. It will be displayed next to module name in the Manage Modules Section in the Admin panel.

Fields

ICON_LOCATIONS

public static final String[] ICON_LOCATIONS

Constructors

BundleIcon

public BundleIcon(byte[] icon, String mime)

Constructor.

Parameters:
  • icon – the icon to be stored as a byte array
  • mime – the mime type of an icon

Methods

getContentLength

public int getContentLength()

Returns size of the icon.

Returns:the size of stored icon (in bytes)

getIcon

public byte[] getIcon()

getMime

public String getMime()