Methods Summary |
---|
public abstract ID3V1Tag | getID3V1Tag()Get the ID3 V1 tag from this file.
|
public abstract ID3V2Tag | getID3V2Tag()Get the ID3 V2 tag from this file.
|
public abstract ID3Tag[] | getTags()Get any tags stored in the file.
|
public abstract void | removeID3V1Tag()Remove V1 tags from this file if present.
|
public abstract void | removeID3V2Tag()Remove V2 tags from this file if present.
|
public abstract void | removeTags()Remove both V1 and V2 tags from this file if present.
|
public ID3Tag | setID3Tag(ID3Tag oID3Tag)Set an ID3 tag in this object. Note this method does not cause the contents of the actual file to be modified.
if (oID3Tag instanceof ID3V1Tag)
{
ID3V1Tag oOldID3V1Tag = m_oID3V1Tag;
m_oID3V1Tag = (ID3V1Tag)oID3Tag;
return oOldID3V1Tag;
}
else if (oID3Tag instanceof ID3V2Tag)
{
ID3V2Tag oOldID3V2Tag = m_oID3V2Tag;
m_oID3V2Tag = (ID3V2Tag)oID3Tag;
return oOldID3V2Tag;
}
return null;
|
public abstract void | sync()Update the actual file to reflect the current state of the tags as set in this object.
|