public final class Id3v1Tag extends Id3Tag
Represents ID3v1 tag.
Constructor and Description |
---|
Id3v1Tag()
Initializes a new instance of the
Id3v1Tag class. |
Modifier and Type | Method and Description |
---|---|
String |
getAlbum()
Gets or sets the album.
|
String |
getArtist()
Gets or sets the artist.
|
String |
getComment()
Gets or sets the comment.
|
String |
getGenre()
Gets the genre string, for example: Pop.
|
int |
getGenreId()
Gets or sets the genre identifier.
|
String |
getTitle()
Gets or sets the title.
|
Integer |
getTrackNumber()
Gets or sets the track number.
|
String |
getVersion()
Gets the ID3 version.
|
String |
getYear()
Gets or sets the year.
|
void |
setAlbum(String value)
Gets or sets the album.
|
void |
setArtist(String value)
Gets or sets the artist.
|
void |
setComment(String value)
Gets or sets the comment.
|
void |
setGenreId(int value)
Gets or sets the genre identifier.
|
void |
setTitle(String value)
Gets or sets the title.
|
void |
setTrackNumber(Integer value)
Gets or sets the track number.
|
void |
setYear(String value)
Gets or sets the year.
|
getKeys
getByType, getMetadataType, readByStringKey
public String getVersion()
Gets the ID3 version.
Value: The ID3 version.getVersion
in class Id3Tag
public final String getArtist()
Gets or sets the artist.
Value: The artist.public final void setArtist(String value)
Gets or sets the artist.
Value: The artist.public final String getAlbum()
Gets or sets the album.
Value: The album.public final void setAlbum(String value)
Gets or sets the album.
Value: The album.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.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.public final String getGenre()
Gets the genre string, for example: Pop.
Value: The genre.public final String getComment()
Gets or sets the comment.
Value: The comment.public final void setComment(String value)
Gets or sets the comment.
Value: The comment.public final String getTitle()
Gets or sets the title.
Value: The title.public final void setTitle(String value)
Gets or sets the title.
Value: The title.public final String getYear()
Gets or sets the year.
Value: The year.public final void setYear(String value)
Gets or sets the year.
Value: The year.public final Integer getTrackNumber()
Gets or sets the track number. Presented in ID3v1.1 tag only.
Value: The track number.public final void setTrackNumber(Integer value)
Gets or sets the track number. Presented in ID3v1.1 tag only.
Value: The track number.Copyright © 2017. All rights reserved.