|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaudiotagger.audio.asf.data.wrapper.ContentDescriptorTagField
public class ContentDescriptorTagField
This class encapsulates a
entagged.audioformats.asf.data.ContentDescriptor
and provides access
to it.
The content descriptor used for construction is copied.
Constructor Summary | |
---|---|
ContentDescriptorTagField(ContentDescriptor source)
Creates an instance. |
Method Summary | |
---|---|
void |
copyContent(TagField field)
(overridden) |
java.lang.String |
getId()
(overridden) |
byte[] |
getRawContent()
(overridden) |
boolean |
isBinary()
(overridden) |
void |
isBinary(boolean b)
(overridden) |
boolean |
isCommon()
(overridden) |
boolean |
isEmpty()
(overridden) |
java.lang.String |
toString()
(overridden) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentDescriptorTagField(ContentDescriptor source)
source
- The descriptor which should be represented as a
TagField
.Method Detail |
---|
public void copyContent(TagField field)
copyContent
in interface TagField
field
- The field containing the data to be taken.entagged.audioformats.generic.TagField#copyContent(entagged.audioformats.generic.TagField)
public java.lang.String getId()
getId
in interface TagField
entagged.audioformats.generic.TagField#getId()
public byte[] getRawContent() throws java.io.UnsupportedEncodingException
getRawContent
in interface TagField
java.io.UnsupportedEncodingException
- Most tag data represents text. In some cases the underlying
implementation will need to convert the text data in java to
a specific charset encoding. In these cases an
UnsupportedEncodingException
may occur.entagged.audioformats.generic.TagField#getRawContent()
public boolean isBinary()
isBinary
in interface TagField
true
if field represents binary data (not human
readable).entagged.audioformats.generic.TagField#isBinary()
public void isBinary(boolean b)
isBinary
in interface TagField
b
- true
, if the field contains binary data.entagged.audioformats.generic.TagField#isBinary(boolean)
public boolean isCommon()
isCommon
in interface TagField
true
if the field is of common use.entagged.audioformats.generic.TagField#isCommon()
public boolean isEmpty()
isEmpty
in interface TagField
true
if no data is stored (or empty String).entagged.audioformats.generic.TagField#isEmpty()
public java.lang.String toString()
toString
in interface TagField
toString
in class java.lang.Object
entagged.audioformats.generic.TagField#toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |