org.jaudiotagger.audio.mp4.atom
Class Mp4FtypBox
java.lang.Object
org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4FtypBox
public class Mp4FtypBox
- extends AbstractMp4Box
Ftyp (File Type) is the first atom, can be used to help identify the mp4 container type
Nested Class Summary |
static class |
Mp4FtypBox.Brand
Major brand, helps identify whats contained in the file, used by major and compatible brands
but this is not an exhaustive list, so for that reason we dont force the values read from the file
to tie in with this enum. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
majorBrand
private java.lang.String majorBrand
majorBrandVersion
private int majorBrandVersion
compatibleBrands
private java.util.List<java.lang.String> compatibleBrands
MAJOR_BRAND_POS
private static final int MAJOR_BRAND_POS
- See Also:
- Constant Field Values
MAJOR_BRAND_LENGTH
private static final int MAJOR_BRAND_LENGTH
- See Also:
- Constant Field Values
MAJOR_BRAND_VERSION_POS
private static final int MAJOR_BRAND_VERSION_POS
- See Also:
- Constant Field Values
MAJOR_BRAND_VERSION_LENGTH
private static final int MAJOR_BRAND_VERSION_LENGTH
- See Also:
- Constant Field Values
COMPATIBLE_BRAND_LENGTH
private static final int COMPATIBLE_BRAND_LENGTH
- See Also:
- Constant Field Values
Mp4FtypBox
public Mp4FtypBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
- Parameters:
header
- header infodataBuffer
- data of box (doesnt include header data)
processData
public void processData()
throws CannotReadException
- Throws:
CannotReadException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getMajorBrand
public java.lang.String getMajorBrand()
getMajorBrandVersion
public int getMajorBrandVersion()
getCompatibleBrands
public java.util.List<java.lang.String> getCompatibleBrands()