com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class ID3V2AttachedPictureFrame

    • Constructor Detail

      • ID3V2AttachedPictureFrame

        public ID3V2AttachedPictureFrame(byte encoding,
                                 String mimeType,
                                 byte pictureType,
                                 String description,
                                 byte[] pictureData)

        Initializes a new instance of the ID3V2AttachedPictureFrame class.

        Parameters:
        encoding - The frame encoding.
        mimeType - The MIME-type of the image.
        pictureType - The type of the picture.
        description - The description of the picture.
        pictureData - The picture data.
      • ID3V2AttachedPictureFrame

        public ID3V2AttachedPictureFrame(byte pictureType,
                                 String description,
                                 byte[] pictureData)

        Initializes a new instance of the ID3V2AttachedPictureFrame class.

        Parameters:
        pictureType - The type of the picture.
        description - The description of the picture.
        pictureData - The picture data.
      • ID3V2AttachedPictureFrame

        public ID3V2AttachedPictureFrame(byte[] pictureData)

        Initializes a new instance of the ID3V2AttachedPictureFrame class.

        Parameters:
        pictureData - The picture data.
    • Method Detail

      • getDescriptionEncoding

        public final byte getDescriptionEncoding()

        Gets the encoding used to encode the picture description.

        Returns:
        The encoding used to encode the picture description.
      • getMimeType

        public final String getMimeType()

        Gets the MIME type of the picture.

        Returns:
        The MIME type of the picture.
      • getAttachedPictureType

        public final byte getAttachedPictureType()

        Gets the type of the picture.

        Returns:
        The type of the picture.
      • getDescription

        public final String getDescription()

        Gets the picture description. The description has a maximum length of 64 characters, but may be empty.

        Returns:
        The picture description.
      • getPictureData

        public final byte[] getPictureData()

        Gets the picture data.

        Returns:
        The picture data.