|
||||||||||
| 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.ContentDescriptorand 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 TagFieldfield - 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 TagFieldentagged.audioformats.generic.TagField#getId()
public byte[] getRawContent()
throws java.io.UnsupportedEncodingException
getRawContent in interface TagFieldjava.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 TagFieldtrue if field represents binary data (not human
readable).entagged.audioformats.generic.TagField#isBinary()public void isBinary(boolean b)
isBinary in interface TagFieldb - true, if the field contains binary data.entagged.audioformats.generic.TagField#isBinary(boolean)public boolean isCommon()
isCommon in interface TagFieldtrue if the field is of common use.entagged.audioformats.generic.TagField#isCommon()public boolean isEmpty()
isEmpty in interface TagFieldtrue if no data is stored (or empty String).entagged.audioformats.generic.TagField#isEmpty()public java.lang.String toString()
toString in interface TagFieldtoString in class java.lang.Objectentagged.audioformats.generic.TagField#toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||