org.jaudiotagger.tag.mp4.field
Class Mp4TagTextNumberField
java.lang.Object
org.jaudiotagger.tag.mp4.Mp4TagField
org.jaudiotagger.tag.mp4.field.Mp4TagTextField
org.jaudiotagger.tag.mp4.field.Mp4TagTextNumberField
- All Implemented Interfaces:
- TagField, TagTextField
- Direct Known Subclasses:
- Mp4DiscNoField, Mp4GenreField, Mp4TrackField
public class Mp4TagTextNumberField
- extends Mp4TagTextField
Represents simple text field that contains an array of number,
But reads the data content as an arry of 16 bit unsigned numbers
Constructor Summary |
Mp4TagTextNumberField(java.lang.String id,
java.nio.ByteBuffer data)
|
Mp4TagTextNumberField(java.lang.String id,
java.lang.String numberArray)
Create a new number, already parsed in subclasses |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NUMBER_LENGTH
public static final int NUMBER_LENGTH
- See Also:
- Constant Field Values
Mp4TagTextNumberField
public Mp4TagTextNumberField(java.lang.String id,
java.lang.String numberArray)
- Create a new number, already parsed in subclasses
- Parameters:
id
- numberArray
-
Mp4TagTextNumberField
public Mp4TagTextNumberField(java.lang.String id,
java.nio.ByteBuffer data)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
copyContent
public void copyContent(TagField field)
- Description copied from interface:
TagField
- This method copies the data of the given field to the current data.
- Specified by:
copyContent
in interface TagField
- Overrides:
copyContent
in class Mp4TagTextField
- Parameters:
field
- The field containing the data to be taken.
getFieldType
public Mp4FieldType getFieldType()
- Overrides:
getFieldType
in class Mp4TagTextField
- Returns:
- type numeric
getNumbers
public java.util.List<java.lang.Short> getNumbers()
- Returns:
- the individual numbers making up this field