Package org.mp4parser.boxes.apple
Class AppleVariableSignedIntegerBox
- java.lang.Object
-
- org.mp4parser.support.AbstractBox
-
- org.mp4parser.boxes.apple.AppleDataBox
-
- org.mp4parser.boxes.apple.AppleVariableSignedIntegerBox
-
- All Implemented Interfaces:
Box,ParsableBox
- Direct Known Subclasses:
Apple_atIDBox,Apple_geIDBox,AppleCompilationBox,AppleCountryTypeBoxBox,AppleGaplessPlaybackBox,AppleGenreIDBox,AppleMediaTypeBox,AppleTempoBox,AppleTVEpisodeBox,AppleTVSeasonBox
public abstract class AppleVariableSignedIntegerBox extends AppleDataBox
Created by sannies on 10/22/13.
-
-
Field Summary
-
Fields inherited from class org.mp4parser.support.AbstractBox
content, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleVariableSignedIntegerBox(String type)
-
Method Summary
Modifier and Type Method Description protected intgetDataLength()intgetIntLength()longgetValue()protected voidparseData(ByteBuffer data)voidsetIntLength(int intLength)voidsetValue(long value)protected byte[]writeData()-
Methods inherited from class org.mp4parser.boxes.apple.AppleDataBox
_parseDetails, getContent, getContentSize, getDataCountry, getDataLanguage, getDataType, getLanguageString, parseDataLength4ccTypeCountryLanguageAndReturnRest, setDataCountry, setDataLanguage, writeDataLength4ccTypeCountryLanguage
-
Methods inherited from class org.mp4parser.support.AbstractBox
getBox, getSize, getType, getUserType, isParsed, parse, parseDetails
-
-
-
-
Constructor Detail
-
AppleVariableSignedIntegerBox
protected AppleVariableSignedIntegerBox(String type)
-
-
Method Detail
-
getIntLength
public int getIntLength()
-
setIntLength
public void setIntLength(int intLength)
-
getValue
public long getValue()
-
setValue
public void setValue(long value)
-
writeData
protected byte[] writeData()
- Specified by:
writeDatain classAppleDataBox
-
parseData
protected void parseData(ByteBuffer data)
- Specified by:
parseDatain classAppleDataBox
-
getDataLength
protected int getDataLength()
- Specified by:
getDataLengthin classAppleDataBox
-
-