org.jaudiotagger.tag.datatype
Class StringSizeTerminated
java.lang.Object
org.jaudiotagger.tag.datatype.AbstractDataType
org.jaudiotagger.tag.datatype.AbstractString
org.jaudiotagger.tag.datatype.TextEncodedStringSizeTerminated
org.jaudiotagger.tag.datatype.StringSizeTerminated
- Direct Known Subclasses:
- StringDateTime
public class StringSizeTerminated
- extends TextEncodedStringSizeTerminated
Represents a String which is not delimited by null character with fixed text encoding.
This type of String will usually only be used when it is the last field within a frame, when reading the remainder of the byte array will
be read, when writing the frame will accomodate the required size for the String. The String will be encoded
using the default encoding regardless of what encoding may be specified in the framebody
Method Summary |
boolean |
equals(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringSizeTerminated
public StringSizeTerminated(java.lang.String identifier,
AbstractTagFrameBody frameBody)
- Creates a new ObjectStringSizeTerminated datatype.
- Parameters:
identifier
- identifies the frame type
StringSizeTerminated
public StringSizeTerminated(StringSizeTerminated object)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class TextEncodedStringSizeTerminated
- Returns:
- whether this and obj are deemed equivalent