|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.tag.datatype.AbstractDataType
org.jaudiotagger.tag.datatype.MultipleTextEncodedStringNullTerminated
public class MultipleTextEncodedStringNullTerminated
Represents a data type that supports multiple terminated Strings (there may only be one)
| Nested Class Summary | |
|---|---|
static class |
MultipleTextEncodedStringNullTerminated.Values
This holds the values held by a MultipleTextEncodedData type |
| Field Summary |
|---|
| Fields inherited from class org.jaudiotagger.tag.datatype.AbstractDataType |
|---|
frameBody, identifier, logger, size, TYPE_ELEMENT, value |
| Constructor Summary | |
|---|---|
MultipleTextEncodedStringNullTerminated(MultipleTextEncodedStringNullTerminated object)
|
|
MultipleTextEncodedStringNullTerminated(java.lang.String identifier,
AbstractTagFrameBody frameBody)
Creates a new ObjectStringSizeTerminated datatype. |
|
MultipleTextEncodedStringNullTerminated(TextEncodedStringSizeTerminated object)
|
|
| Method Summary | |
|---|---|
boolean |
canBeEncoded()
Check the value can be encoded with the specified encoding |
boolean |
equals(java.lang.Object obj)
|
int |
getSize()
Returns the size in bytes of this datatype when written to file |
void |
readByteArray(byte[] arr,
int offset)
Read Null Terminated Strings from the array starting at offset, continue until unable to find any null terminated Strings or until reached the end of the array. |
byte[] |
writeByteArray()
For every String write to bytebuffer |
| Methods inherited from class org.jaudiotagger.tag.datatype.AbstractDataType |
|---|
createStructure, getBody, getIdentifier, getValue, readByteArray, setBody, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipleTextEncodedStringNullTerminated(java.lang.String identifier,
AbstractTagFrameBody frameBody)
identifier - identifies the frame typeframeBody - public MultipleTextEncodedStringNullTerminated(TextEncodedStringSizeTerminated object)
public MultipleTextEncodedStringNullTerminated(MultipleTextEncodedStringNullTerminated object)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class AbstractDataTypepublic int getSize()
getSize in class AbstractDataTypepublic boolean canBeEncoded()
public void readByteArray(byte[] arr,
int offset)
throws InvalidDataTypeException
readByteArray in class AbstractDataTypearr - to read the Strings fromoffset - in the array to start reading from
InvalidDataTypeException - if unable to find any null terminated Stringspublic byte[] writeByteArray()
writeByteArray in class AbstractDataType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||