org.blinkenlights.jid3.v1
Class ID3V1_0Tag

java.lang.Object
  extended byorg.blinkenlights.jid3.ID3Tag
      extended byorg.blinkenlights.jid3.v1.ID3V1Tag
          extended byorg.blinkenlights.jid3.v1.ID3V1_0Tag
All Implemented Interfaces:
ID3Visitable

public class ID3V1_0Tag
extends ID3V1Tag


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_0Tag()
          Constructor for ID3 V1.0 Tag.
 
Method Summary
 void accept(ID3Visitor oID3Visitor)
          Accept a visitor.
 void setComment(java.lang.String sComment)
          Set the comment field.
 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, toString
 
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

ID3V1_0Tag

public ID3V1_0Tag()
Constructor for ID3 V1.0 Tag.

Method Detail

accept

public void accept(ID3Visitor oID3Visitor)
Description copied from interface: ID3Visitable
Accept a visitor.

Parameters:
oID3Visitor - a visitor of this object

setComment

public void setComment(java.lang.String sComment)
Description copied from class: ID3V1Tag
Set the comment field.

Specified by:
setComment in class ID3V1Tag
Parameters:
sComment - a comment field (truncated to 30 characters, if longer, or 28 characters in a v1.1 tag)

write

public void write(java.io.OutputStream oOS)
           throws ID3Exception
Description copied from class: ID3V1Tag
Write tag to output stream.

Specified by:
write in class ID3V1Tag
Parameters:
oOS - output stream to which tag is to be written
Throws:
ID3Exception - if an error occurs while writing the tag