Class DefaultContentImage

    • Constructor Detail

      • DefaultContentImage

        public DefaultContentImage()
    • Method Detail

      • getUrl

        public URL getUrl()
        Description copied from interface: ContentImage
        Obtains the image URL.
        Specified by:
        getUrl in interface ContentImage
        Returns:
        The URL of the image or null when the image has no URL.
      • setUrl

        public void setUrl​(URL url)
      • getPngData

        public byte[] getPngData()
        Description copied from interface: ContentImage
        Gets the PNG data of the image if available.
        Specified by:
        getPngData in interface ContentImage
        Returns:
        The PNG data or null when the data is not available.
      • setPngData

        public void setPngData​(byte[] pngData)