org.jaudiotagger.tag.mp4.field
Class Mp4DiscNoField
java.lang.Object
org.jaudiotagger.tag.mp4.Mp4TagField
org.jaudiotagger.tag.mp4.field.Mp4TagTextField
org.jaudiotagger.tag.mp4.field.Mp4TagTextNumberField
org.jaudiotagger.tag.mp4.field.Mp4DiscNoField
- All Implemented Interfaces:
- TagField, TagTextField
public class Mp4DiscNoField
- extends Mp4TagTextNumberField
Represents the Disc No field
For some reason uses an array of three numbers, but only the last two are of use for display purposes
Constructor Summary |
Mp4DiscNoField(int discNo)
Create new Disc no Field with only discNo |
Mp4DiscNoField(int discNo,
int total)
Create new Disc No Field with disc No and total tracks |
Mp4DiscNoField(java.lang.String discValue)
Create new Track Field parsing the String for the trackno/total |
Mp4DiscNoField(java.lang.String id,
java.nio.ByteBuffer data)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Mp4DiscNoField
public Mp4DiscNoField(java.lang.String discValue)
throws FieldDataInvalidException
- Create new Track Field parsing the String for the trackno/total
- Parameters:
discValue
-
- Throws:
FieldDataInvalidException
Mp4DiscNoField
public Mp4DiscNoField(int discNo)
- Create new Disc no Field with only discNo
- Parameters:
discNo
-
Mp4DiscNoField
public Mp4DiscNoField(int discNo,
int total)
- Create new Disc No Field with disc No and total tracks
- Parameters:
discNo
- total
-
Mp4DiscNoField
public Mp4DiscNoField(java.lang.String id,
java.nio.ByteBuffer data)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
getDiscNo
public java.lang.Short getDiscNo()
- Returns:
getDiscTotal
public java.lang.Short getDiscTotal()
- Returns: