FileDocCategorySizeDatePackage
StringSizeTerminated.javaAPI DocJaudiotagger 2.0.42651Wed Mar 30 16:12:12 BST 2011org.jaudiotagger.tag.datatype

StringSizeTerminated

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 accommodate 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

Fields Summary
Constructors Summary
public StringSizeTerminated(String identifier, org.jaudiotagger.tag.id3.AbstractTagFrameBody frameBody)
Creates a new ObjectStringSizeTerminated datatype.

param
identifier identifies the frame type
param
frameBody

        super(identifier, frameBody);
    
public StringSizeTerminated(StringSizeTerminated object)

        super(object);
    
Methods Summary
public booleanequals(java.lang.Object obj)

        return obj instanceof StringSizeTerminated && super.equals(obj);
    
protected java.lang.StringgetTextEncodingCharSet()

        return TextEncoding.CHARSET_ISO_8859_1;