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.


Constructor Index

 o ID3Tag()

Method Index

 o getAlbum()
returns the value of the album title field
 o getArtist()
returns the value of the artist name field
 o getComment()
returns the value of the comment field
 o getGenreID()
returns the value of the genre id field
 o getSong()
 o getYear()
returns the value of the year of release field.
 o setAlbum(String)
sets the value of the album title field.
 o setArtist(String)
sets the value of the artist name field.
 o setComment(String)
sets the value of the comment field.
 o setGenreID(int)
sets the value of the genre id field.
 o setSong(String)
sets the value of the song title field.
 o setYear(String)
sets the value of the year of release field.

Constructors

 o ID3Tag
 public ID3Tag()

Methods

 o getArtist
 public String getArtist()
returns the value of the artist name field

 o setArtist
 public void setArtist(String pArtist)
sets the value of the artist name field. max length: 30 characters

 o getSong
 public String getSong()
 o setSong
 public void setSong(String pSong)
sets the value of the song title field. max length: 30 characters

 o getAlbum
 public String getAlbum()
returns the value of the album title field

 o setAlbum
 public void setAlbum(String pAlbum)
sets the value of the album title field. max length: 30 characters

 o getYear
 public String getYear()
returns the value of the year of release field.

 o setYear
 public void setYear(String pYear)
sets the value of the year of release field. max length: 4 characters

 o getComment
 public String getComment()
returns the value of the comment field

 o setComment
 public void setComment(String pComment)
sets the value of the comment field. max length: 30 characters

 o getGenreID
 public int getGenreID()
returns the value of the genre id field

See Also:
GenreLookup
 o 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