|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectentagged.audioformats.ape.util.ApeTagField
entagged.audioformats.ape.util.ApeTagBinaryField
public class ApeTagBinaryField
| Constructor Summary | |
|---|---|
ApeTagBinaryField(String id,
byte[] content)
|
|
| Method Summary | |
|---|---|
void |
copyContent(TagField field)
This method copies the data of the given filed to the current data. |
byte[] |
getContent()
|
byte[] |
getRawContent()
This method delivers the binary representation of the fields data in order to be directly written to the file. |
boolean |
isEmpty()
Determines whether the content of the field is empty. |
String |
toString()
This method returns a human readable description of the fields contents. For text fields it should be the text itself. |
| Methods inherited from class entagged.audioformats.ape.util.ApeTagField |
|---|
copy, getBytes, getId, getSize, isBinary, isBinary, isCommon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApeTagBinaryField(String id,
byte[] content)
| Method Detail |
|---|
public boolean isEmpty()
TagField
isEmpty in interface TagFieldisEmpty in class ApeTagFieldtrue if no data is stored (or empty String).public String toString()
TagField
toString in interface TagFieldtoString in class ApeTagFieldpublic void copyContent(TagField field)
TagField
copyContent in interface TagFieldcopyContent in class ApeTagFieldfield - The field containing the data to be taken.public byte[] getContent()
public byte[] getRawContent()
throws UnsupportedEncodingException
TagField
getRawContent in interface TagFieldgetRawContent in class ApeTagFieldUnsupportedEncodingException - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||