Methods Summary |
---|
public void | accept(ID3Visitor oID3Visitor)
oID3Visitor.visitPCNTID3V2Frame(this);
|
public boolean | equals(java.lang.Object oOther)
if ((oOther == null) || (!(oOther instanceof PCNTID3V2Frame)))
{
return false;
}
PCNTID3V2Frame oOtherPCNT = (PCNTID3V2Frame)oOther;
return (m_iPlayCount == oOtherPCNT.m_iPlayCount);
|
protected byte[] | getFrameId()
return "PCNT".getBytes();
|
public int | getPlayCount()Get play count.
return m_iPlayCount;
|
public void | setPlayCount(int iPlayCount)Set the play count.
if (iPlayCount < 0)
{
throw new ID3Exception("Play count cannot be negative in PCNT frame.");
}
m_iPlayCount = iPlayCount;
|
public java.lang.String | toString()
return "Play counter: Play count=[" + m_iPlayCount + "]";
|
protected void | writeBody(ID3DataOutputStream oIDOS)
// play count
oIDOS.writeBE32(m_iPlayCount);
|