|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.coremedia.iso.boxes.AbstractBox
com.coremedia.iso.boxes.sampleentry.SampleEntry
com.coremedia.iso.boxes.sampleentry.MpegSampleEntry
public class MpegSampleEntry
| Field Summary |
|---|
| Fields inherited from class com.coremedia.iso.boxes.sampleentry.SampleEntry |
|---|
boxes |
| Fields inherited from class com.coremedia.iso.boxes.AbstractBox |
|---|
deadBytes, type |
| Constructor Summary | |
|---|---|
MpegSampleEntry(java.lang.String type)
|
|
| Method Summary | |
|---|---|
void |
_parseDetails(java.nio.ByteBuffer content)
Implement the actual parsing of the box's fields here. |
protected void |
getContent(java.nio.ByteBuffer bb)
Writes the box's content into the given ByteBuffer. |
protected long |
getContentSize()
Gets the box's content size. |
java.lang.String |
toString()
|
| Methods inherited from class com.coremedia.iso.boxes.sampleentry.SampleEntry |
|---|
_parseChildBoxes, _parseReservedAndDataReferenceIndex, _writeChildBoxes, _writeReservedAndDataReferenceIndex, addBox, getBoxes, getBoxes, getBoxes, getDataReferenceIndex, getNumOfBytesToFirstChild, parse, removeBox, setBoxes, setDataReferenceIndex, setType |
| Methods inherited from class com.coremedia.iso.boxes.AbstractBox |
|---|
getBox, getDeadBytes, getHeader, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parseDetails, setDeadBytes, setParent, setUserType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.coremedia.iso.boxes.ContainerBox |
|---|
getBoxes, getBoxes, getBoxes, getIsoFile, getNumOfBytesToFirstChild, getParent, setBoxes |
| Methods inherited from interface com.coremedia.iso.boxes.Box |
|---|
getBox, getSize, getType, parse, setParent |
| Constructor Detail |
|---|
public MpegSampleEntry(java.lang.String type)
| Method Detail |
|---|
public void _parseDetails(java.nio.ByteBuffer content)
AbstractBoxAbstractBox.parseDetails() which encapsulates the call to this method with some safeguards.
_parseDetails in class AbstractBoxprotected long getContentSize()
AbstractBox
getContentSize in class AbstractBoxpublic java.lang.String toString()
toString in class java.lang.Object
protected void getContent(java.nio.ByteBuffer bb)
throws java.io.IOException
AbstractBoxByteBuffer. This must include flags
and version in case of a full box. bb has been initialized with
getSize() bytes.
getContent in class AbstractBoxbb - the box's content-sink.
java.io.IOException - in case of an exception in the underlying OutputStream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||