All Packages Class Hierarchy This Package Previous Next Index
Class joeshmoe.mpeg.ID3Tag
joeshmoe.mpeg.ID3Tag
- public class ID3Tag
This class represents an ID3 tag. This tag, appended to the end of an
MPEG audio file, gives information about the contents of the file.
All fields are automatically (and silently) truncated to their
maximum lengh.
-
ID3Tag()
-
-
getAlbum()
- returns the value of the album title field
-
getArtist()
-
returns the value of the artist name field
-
getComment()
- returns the value of the comment field
-
getGenreID()
-
returns the value of the genre id field
-
getSong()
-
-
getYear()
- returns the value of the year of release field.
-
setAlbum(String)
- sets the value of the album title field.
-
setArtist(String)
- sets the value of the artist name field.
-
setComment(String)
-
sets the value of the comment field.
-
setGenreID(int)
- sets the value of the genre id field.
-
setSong(String)
- sets the value of the song title field.
-
setYear(String)
- sets the value of the year of release field.
ID3Tag
public ID3Tag()
getArtist
public String getArtist()
- returns the value of the artist name field
setArtist
public void setArtist(String pArtist)
- sets the value of the artist name field. max length: 30 characters
getSong
public String getSong()
setSong
public void setSong(String pSong)
- sets the value of the song title field. max length: 30 characters
getAlbum
public String getAlbum()
- returns the value of the album title field
setAlbum
public void setAlbum(String pAlbum)
- sets the value of the album title field. max length: 30 characters
getYear
public String getYear()
- returns the value of the year of release field.
setYear
public void setYear(String pYear)
- sets the value of the year of release field. max length: 4 characters
getComment
public String getComment()
- returns the value of the comment field
setComment
public void setComment(String pComment)
- sets the value of the comment field. max length: 30 characters
getGenreID
public int getGenreID()
- returns the value of the genre id field
- See Also:
- GenreLookup
setGenreID
public void setGenreID(int pGenreID)
- sets the value of the genre id field. max value: 255
- See Also:
- GenreLookup
All Packages Class Hierarchy This Package Previous Next Index