|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blinkenlights.jid3.ID3Tag
org.blinkenlights.jid3.v1.ID3V1Tag
org.blinkenlights.jid3.v1.ID3V1_1Tag
Nested Class Summary |
Nested classes inherited from class org.blinkenlights.jid3.v1.ID3V1Tag |
ID3V1Tag.Genre |
Field Summary |
Fields inherited from class org.blinkenlights.jid3.v1.ID3V1Tag |
m_oGenre, m_sAlbum, m_sArtist, m_sComment, m_sTitle, m_sYear |
Constructor Summary | |
ID3V1_1Tag()
Constructor for ID3 V1.1 tag. |
Method Summary | |
void |
accept(ID3Visitor oID3Visitor)
Accept a visitor. |
int |
getAlbumTrack()
Get the album track number. |
void |
setAlbumTrack(int iAlbumTrack)
Set the track number for this title on the album from which it came. |
void |
setComment(java.lang.String sComment)
Set the comment field. |
java.lang.String |
toString()
Represent a tag as string for debugging purposes. |
void |
write(java.io.OutputStream oOS)
Write tag to output stream. |
Methods inherited from class org.blinkenlights.jid3.v1.ID3V1Tag |
getAlbum, getArtist, getComment, getGenre, getTitle, getYear, read, setAlbum, setArtist, setGenre, setTitle, setYear |
Methods inherited from class org.blinkenlights.jid3.ID3Tag |
useStrict, usingStrict |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ID3V1_1Tag()
Method Detail |
public void accept(ID3Visitor oID3Visitor)
ID3Visitable
oID3Visitor
- a visitor of this objectpublic void setComment(java.lang.String sComment)
ID3V1Tag
setComment
in class ID3V1Tag
sComment
- a comment field (truncated to 30 characters, if longer, or 28 characters in a v1.1 tag)public void setAlbumTrack(int iAlbumTrack) throws ID3Exception
iAlbumTrack
- a track number from 1 to 255
ID3Exception
- if the track number is outside the valid rangepublic int getAlbumTrack()
public java.lang.String toString()
ID3Tag
toString
in class ID3V1Tag
public void write(java.io.OutputStream oOS) throws ID3Exception
ID3V1Tag
write
in class ID3V1Tag
oOS
- output stream to which tag is to be written
ID3Exception
- if an error occurs while writing the tag
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |