|
||||||||||
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.FrameBodyUnsupported
public class FrameBodyUnsupported
Represents a framebody for a frame identifier jaudiotagger has not implemented a framebody for.
This is likley to be because the FrameBody is not specified in the Specification but it may just be because the code has yet to be written, the library uses this framebody when it cant find an alternative. This is different to the ID3v2ExtensionFrameBody Interface which should be implemented by frame bodies that are non standard such as iTunes compilation frame (TCMP) but are commonly used.
Field Summary | |
---|---|
private java.lang.String |
identifier
Because used by any unknown frame identifier varies |
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 | |
---|---|
FrameBodyUnsupported()
Deprecated. because no identifier set |
|
FrameBodyUnsupported(byte[] value)
Deprecated. because no identifier set |
|
FrameBodyUnsupported(java.nio.ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyUnsupported datatype. |
|
FrameBodyUnsupported(FrameBodyUnsupported copyObject)
Copy constructor |
|
FrameBodyUnsupported(java.lang.String identifier)
Creates a new FrameBodyUnsupported |
|
FrameBodyUnsupported(java.lang.String identifier,
byte[] value)
Create a new FrameBodyUnsupported |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Are two bodies equal |
java.lang.String |
getIdentifier()
Return the frame identifier |
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, getSize, read, setSize, setSize, write |
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
---|
getBriefDescription, 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 java.lang.String identifier
Constructor Detail |
---|
public FrameBodyUnsupported()
public FrameBodyUnsupported(java.lang.String identifier)
identifier
- public FrameBodyUnsupported(java.lang.String identifier, byte[] value)
identifier
- value
- public FrameBodyUnsupported(byte[] value)
value
- public FrameBodyUnsupported(FrameBodyUnsupported copyObject)
copyObject
- a copy is made of thispublic FrameBodyUnsupported(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
-
InvalidFrameException
- if unable to create framebody from buffer
InvalidTagException
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public boolean equals(java.lang.Object obj)
AbstractID3v2FrameBody
equals
in class AbstractID3v2FrameBody
obj
-
public java.lang.String toString()
toString
in class AbstractTagFrameBody
protected void setupObjectList()
setupObjectList
in class AbstractTagFrameBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |