com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class Id3v1Tag



  • public final class Id3v1Tag
    extends Id3Tag

    Represents ID3v1 tag. See more https://en.wikipedia.org/wiki/ID3#ID3v1.


    ID3(v1) tag is a small chunk of extra data in the end of MP3. See more http://id3.org/ID3v1.

    • Constructor Detail

      • Id3v1Tag

        public Id3v1Tag()

        Initializes a new instance of the Id3v1Tag class.

    • Method Detail

      • getVersion

        public String getVersion()

        Gets the ID3 version. It can be ID3 or ID3v1.1

        Value: The ID3 version.
        Specified by:
        getVersion in class Id3Tag
      • getArtist

        public final String getArtist()

        Gets or sets the artist. Maximum length is 30 characters.

        Value: The artist.
      • setArtist

        public final void setArtist(String value)

        Gets or sets the artist. Maximum length is 30 characters.

        Value: The artist.
      • getAlbum

        public final String getAlbum()

        Gets or sets the album. Maximum length is 30 characters.

        Value: The album.
      • setAlbum

        public final void setAlbum(String value)

        Gets or sets the album. Maximum length is 30 characters.

        Value: The album.
      • getGenreId

        public final int getGenreId()

        Gets or sets the genre identifier. Full list of genres: http://id3.org/id3v2.3.0#Appendix_A_-_Genre_List_from_ID3v1.

        Value: The genre identifier.
      • setGenreId

        public final void setGenreId(int value)

        Gets or sets the genre identifier. Full list of genres: http://id3.org/id3v2.3.0#Appendix_A_-_Genre_List_from_ID3v1.

        Value: The genre identifier.
      • getGenre

        public final String getGenre()

        Gets the genre string based on GenreId, for example: Pop.

        Value: The genre.
      • getComment

        public final String getComment()

        Gets or sets the comment. Maximum length is 30 characters.

        Value: The comment.
      • setComment

        public final void setComment(String value)

        Gets or sets the comment. Maximum length is 30 characters.

        Value: The comment.
      • getTitle

        public final String getTitle()

        Gets or sets the title.

        Value: The title.
      • setTitle

        public final void setTitle(String value)

        Gets or sets the title.

        Value: The title.
      • getYear

        public final String getYear()

        Gets or sets the year. Maximum length is 4 characters.

        Value: The year.
      • setYear

        public final void setYear(String value)

        Gets or sets the year. Maximum length is 4 characters.

        Value: The year.
      • getTrackNumber

        public final Integer getTrackNumber()

        Gets or sets the track number. Presented in ID3v1.1 tag only.

        Value: The track number.


        If value of TrackNumber is positive integer then ID3 changes version to 'ID3v1.1' automatically.

      • setTrackNumber

        public final void setTrackNumber(Integer value)

        Gets or sets the track number. Presented in ID3v1.1 tag only.

        Value: The track number.


        If value of TrackNumber is positive integer then ID3 changes version to 'ID3v1.1' automatically.