|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jaudiotagger.tag.id3.AbstractTagItem org.jaudiotagger.tag.id3.AbstractTagFrameBody org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody org.jaudiotagger.tag.id3.framebody.FrameBodyDeprecated
public class FrameBodyDeprecated
Represents a framebody for a frame identifier that is not defined for the tag version but was valid for a for an earlier tag version. The body consists of an array of bytes representing all the bytes in the body.
Field Summary | |
---|---|
private AbstractID3v2FrameBody |
originalFrameBody
|
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
---|
TYPE_BODY |
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
---|
objectList |
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
---|
logger |
Constructor Summary | |
---|---|
FrameBodyDeprecated(AbstractID3v2FrameBody frameBody)
Creates a new FrameBodyDeprecated wrapper around the frameBody |
|
FrameBodyDeprecated(FrameBodyDeprecated copyObject)
Copy constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Are two bodies equal |
java.lang.String |
getBriefDescription()
This method calls toString for all it's objects and appends
them without any newline characters. |
java.lang.String |
getIdentifier()
Return the frame identifier |
AbstractID3v2FrameBody |
getOriginalFrameBody()
Return the original framebody that was used to construct the DeprecatedFrameBody |
int |
getSize()
Delgate size to size of original framebody, if framebody already exist will take this value from the frame header but it is always recalculated before writing any changes back to disk. |
protected void |
setupObjectList()
Setup the Object List. |
java.lang.String |
toString()
Because the contents of this frame are an array of bytes and could be large we just return the identifier. |
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
---|
createStructure, read, setSize, setSize, write |
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
---|
getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private AbstractID3v2FrameBody originalFrameBody
Constructor Detail |
---|
public FrameBodyDeprecated(AbstractID3v2FrameBody frameBody)
frameBody
- public FrameBodyDeprecated(FrameBodyDeprecated copyObject)
copyObject
- a copy is made of thisMethod Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public int getSize()
getSize
in class AbstractID3v2FrameBody
public boolean equals(java.lang.Object obj)
AbstractID3v2FrameBody
equals
in class AbstractID3v2FrameBody
obj
-
public AbstractID3v2FrameBody getOriginalFrameBody()
public java.lang.String toString()
toString
in class AbstractTagFrameBody
protected void setupObjectList()
setupObjectList
in class AbstractTagFrameBody
public java.lang.String getBriefDescription()
AbstractTagFrameBody
toString
for all it's objects and appends
them without any newline characters.
getBriefDescription
in class AbstractTagFrameBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |