Interface Media

All Known Subinterfaces:
Image
All Known Implementing Classes:
JpegAttributeValue, MediaValue, PngAttributeValue

public interface Media
Represents media with some mimeType
  • Method Details

    • getMimeType

      String getMimeType()
      Get mime type of the content
      Returns:
      mime type
    • getContent

      byte[] getContent()
      Media content
      Returns:
      media as byte[]
    • getBase64Content

      String getBase64Content()
      Base64 encoded media content
      Returns:
      media as Base64 encoded String