Jala 1.3

Class jala.Mp3.Id3v2

Object
   |
   +--jala.Mp3.Id3v2

class jala.Mp3.Id3v2


This class represents an Id3v2 tag.
Defined in Mp3.js


Constructor Summary
jala.Mp3.Id3v2 (audioObj)
            Constructs a new Id3v2 tag from an Mp3 file
 
Method Summary
 void copyFrom(tag)
           Copies standard fields from another tag.
 String getAlbum()
           Returns the album information of the tag.
 String getArtist()
           Returns the artist information of the tag.
 jala.Mp3 getAudio()
           Returns the wrapper for the underlying audio file.
 String getAuthor()
           Returns the author information of the tag.
 String getComment()
           Returns the comment information of the tag.
 String getCopyright()
           Returns the copyright information of the tag.
 String getGenre()
           Returns the genre information of the tag.
 helma.util.MimePart getImage(<String> pictureType)
           Extracts the image from the tag
 org.farng.mp3.id3.AbstractID3v2 getJavaObject()
           returns the java representation of the tag, class depends on the actual library used.
 String getSubtitle()
           Returns the subtitle information of the tag.
 Number getSubtype()
           Returns the version number of this id3v2 (values 2 to 4 for id3v2.2 to id3v2.4)
 String getTextContent(idStr)
           This method can be used to retrieve an arbitrary text frame of the underlying tag.
 Number getTextEncoding()
           Returns the text encoding used when setting values.
 String getTitle()
           Returns the title information of the tag.
 String getTrackNumber()
           Returns the track number information of the tag.
 String getUrl()
           Returns the Url stored in this tag
 String getYear()
           Returns the year information of the tag.
 void removeFromAudio()
           Removes the tag from the audio file and nulls out the wrapper.
 void setAlbum(<String> album)
           Sets the album information.
 void setArtist(<String> artist)
           Sets the artist information.
 void setAuthor(<String> author)
           Sets the author information in this tag
 void setComment(<String> comment)
           Sets the comment
 void setCopyright(<String> copyright)
           Sets the copyright information in this tag
 void setGenre(<String> genre)
           Sets the genre information.
 void setImage(<Number> pictureType, <String> mimeType, <Array> byteArray)
           adds an image to the file.
 void setSubtitle(<String> title)
           Sets the subtitle information
 String setTextContent(idStr, val)
           This method can be used to set an arbitrary field of the underlying tag.
 void setTextEncoding(<Number|String> encType)
           sets the text encoding used when creating new frames (the encoding type of old frames can't be changed with JavaMusicTag)
 void setTitle(<String> title)
           Sets the title information
 void setTrackNumber(<Number> trackNumber)
           Sets the track number information.
 void setUrl(<String> url, <String> desc)
           Stores the Url passed as argument in this tag.
 void setYear(<Number> year)
           Sets the year information.

Constructor Detail

jala.Mp3.Id3v2

jala.Mp3.Id3v2(audioObj)

Method Detail

copyFrom

void copyFrom(tag)

getAlbum

String getAlbum()

getArtist

String getArtist()

getAudio

jala.Mp3 getAudio()

getAuthor

String getAuthor()

getComment

String getComment()

getCopyright

String getCopyright()

getGenre

String getGenre()

getImage

helma.util.MimePart getImage(<String> pictureType)

getJavaObject

org.farng.mp3.id3.AbstractID3v2 getJavaObject()

getSubtitle

String getSubtitle()

getSubtype

Number getSubtype()

getTextContent

String getTextContent(idStr)

getTextEncoding

Number getTextEncoding()

getTitle

String getTitle()

getTrackNumber

String getTrackNumber()

getUrl

String getUrl()

getYear

String getYear()

removeFromAudio

void removeFromAudio()

setAlbum

void setAlbum(<String> album)

setArtist

void setArtist(<String> artist)

setAuthor

void setAuthor(<String> author)

setComment

void setComment(<String> comment)

setCopyright

void setCopyright(<String> copyright)

setGenre

void setGenre(<String> genre)

setImage

void setImage(<Number> pictureType, <String> mimeType, <Array> byteArray)

setSubtitle

void setSubtitle(<String> title)

setTextContent

String setTextContent(idStr, val)

setTextEncoding

void setTextEncoding(<Number|String> encType)

setTitle

void setTitle(<String> title)

setTrackNumber

void setTrackNumber(<Number> trackNumber)

setUrl

void setUrl(<String> url, <String> desc)

setYear

void setYear(<Number> year)

Jala 1.3

Documentation generated by JSDoc on Tue Jan 8 15:45:31 2008