org.pscode.xui.mp3.id3tag
Class Tag

java.lang.Object
  extended by org.pscode.xui.mp3.id3tag.Tag

public class Tag
extends Object


Field Summary
 String album
           
 String artist
           
 String comment
           
 byte genre
           
 String title
           
 String year
           
 
Constructor Summary
Tag()
           
 
Method Summary
 String getAlbum()
           
 String getArtist()
           
 String getComment()
           
 byte getGenre()
           
 String getGenreString()
           
 String getTitle()
           
 String getYear()
           
 Tag readTag(InputStream in)
           
 Tag readTag(InputStream in, long length)
           
 void setAlbum(String album)
           
 void setArtist(String artist)
           
 void setComment(String comment)
           
 void setGenre(byte genre)
           
 void setTitle(String title)
           
 void setYear(String year)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public String title

artist

public String artist

album

public String album

year

public String year

comment

public String comment

genre

public byte genre
Constructor Detail

Tag

public Tag()
Method Detail

setTitle

public void setTitle(String title)

setArtist

public void setArtist(String artist)

setAlbum

public void setAlbum(String album)

setYear

public void setYear(String year)

setComment

public void setComment(String comment)

setGenre

public void setGenre(byte genre)

getGenre

public byte getGenre()

getTitle

public String getTitle()

getArtist

public String getArtist()

getAlbum

public String getAlbum()

getYear

public String getYear()

getComment

public String getComment()

readTag

public Tag readTag(InputStream in,
                   long length)
            throws Exception
Throws:
Exception

readTag

public Tag readTag(InputStream in)
            throws Exception
Throws:
Exception

getGenreString

public String getGenreString()