|
Jala 1.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--jala.Mp3.Id3v1
This class represents an Id3v1 tag.
Defined in Mp3.js
Constructor Summary | |
jala.Mp3.Id3v1
(audioObj)
Constructs a new Id3v1 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
|
getComment()
Returns the comment information of the tag. |
String
|
getGenre()
Returns the genre information of the tag. |
org.farng.mp3.id3.AbstractID3v1
|
getJavaObject()
Returns the java representation of the tag, class depends on the actual library used. |
Object
|
getTextContent(<String> id)
This method could be used to retrieve an arbitrary field of the underlying tag. |
String
|
getTitle()
Returns the title information of the tag. |
String
|
getTrackNumber()
Returns the track number information of the tag. |
String
|
getYear()
Returns the year information of the tag. |
void
|
setAlbum(<String> album)
Sets the album information. |
void
|
setArtist(<String> artist)
Sets the artist information. |
void
|
setComment(<String> comment)
Sets the comment |
void
|
setGenre(<String> genre)
Sets the genre information. |
void
|
setTextContent(<String> id, val)
This method could be used to set an arbitrary field of the underlying tag. |
void
|
setTitle(<String> title)
Sets the title information |
void
|
setTrackNumber(<Number> trackNumber)
Sets the track number information. |
void
|
setYear(<Number> year)
Sets the year information. |
Constructor Detail |
jala.Mp3.Id3v1(audioObj)
mp3File
-
Method Detail |
void copyFrom(tag)
src
- object with getter methods for fields album, artist, comment, title, trackNumber, genre and year.
String getAlbum()
String getArtist()
jala.Mp3 getAudio()
String getComment()
String getGenre()
org.farng.mp3.id3.AbstractID3v1 getJavaObject()
Object getTextContent(<String> id)
id
-
String getTitle()
String getTrackNumber()
String getYear()
void setAlbum(<String> album)
album
-
void setArtist(<String> artist)
artist
-
void setComment(<String> comment)
comment
-
void setGenre(<String> genre)
genre
-
void setTextContent(<String> id, val)
id
-
value
-
void setTitle(<String> title)
title
-
void setTrackNumber(<Number> trackNumber)
trackNumber
-
void setYear(<Number> year)
year
-
|
Jala 1.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |