com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class CommentsFrame

  • All Implemented Interfaces:
    IMetadataProperty


    public final class CommentsFrame
    extends TagFrame

    Represents a COMM frame in an Id3v2Tag.


    This frame is indended for any kind of full text information that does not fit in any other frame.

    • Constructor Detail

      • CommentsFrame

        public CommentsFrame(int encoding,
                     String language,
                     String description,
                     String text)

        Initializes a new instance of the CommentsFrame class.

        Parameters:
        encoding - The encoding.
        language - The language.
        description - The description.
        text - Comment text.
    • Method Detail

      • getEncoding

        public final int getEncoding()

        Gets the encoding.

        Returns:
        The encoding.
      • setEncoding

        public final void setEncoding(int value)

        Sets the encoding.

        Parameters:
        value - The encoding.
      • getLanguage

        public final String getLanguage()

        Gets the language (3 characters).

        Returns:
        The language.
      • setLanguage

        public final void setLanguage(String value)

        Sets the language (3 characters).

        Parameters:
        value - The language.
      • getShortContentDescription

        public final String getShortContentDescription()

        Gets the short content description.

        Returns:
        The short content description.
      • setShortContentDescription

        public final void setShortContentDescription(String value)

        Sets the short content description.

        Parameters:
        value - The short content description.
      • getText

        public final String getText()

        Gets the text of the comment.

        Returns:
        The text.
      • setText

        public final void setText(String value)

        Sets the text of the comment.

        Parameters:
        value - The text.
      • getTextValue

        public final String getTextValue()
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class TagFrame
        Returns:
        A System.String that represents this instance.