public class FrameBodyDeprecated extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
Modifier and Type | Field and Description |
---|---|
private AbstractID3v2FrameBody |
originalFrameBody
The original frameBody is held so can be retrieved
when converting a DeprecatedFrameBody back to a normal framebody
|
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyDeprecated(AbstractID3v2FrameBody frameBody)
Creates a new FrameBodyDeprecated wrapper around the frameBody
|
FrameBodyDeprecated(FrameBodyDeprecated copyObject)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
createStructure, read, setSize, setSize, write
getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding
private AbstractID3v2FrameBody originalFrameBody
public FrameBodyDeprecated(AbstractID3v2FrameBody frameBody)
frameBody
- public FrameBodyDeprecated(FrameBodyDeprecated copyObject)
copyObject
- a copy is made of thispublic 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
Copyright © 2005-2013 java.net. All Rights Reserved.