org.jcodec.movtool.streaming
Class VirtualMovie.PacketChunk

java.lang.Object
  extended by org.jcodec.movtool.streaming.VirtualMovie.PacketChunk
All Implemented Interfaces:
MovieSegment
Enclosing class:
VirtualMovie

public class VirtualMovie.PacketChunk
extends Object
implements MovieSegment


Constructor Summary
VirtualMovie.PacketChunk(VirtualPacket packet, int track, int no, long pos)
           
 
Method Summary
 ByteBuffer getData()
           
 int getDataLen()
           
 int getNo()
           
 VirtualPacket getPacket()
           
 long getPos()
           
 int getTrack()
           
 void offset(int off)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualMovie.PacketChunk

public VirtualMovie.PacketChunk(VirtualPacket packet,
                                int track,
                                int no,
                                long pos)
Method Detail

getData

public ByteBuffer getData()
                   throws IOException
Specified by:
getData in interface MovieSegment
Throws:
IOException

getNo

public int getNo()
Specified by:
getNo in interface MovieSegment

getPos

public long getPos()
Specified by:
getPos in interface MovieSegment

offset

public void offset(int off)

getDataLen

public int getDataLen()
               throws IOException
Specified by:
getDataLen in interface MovieSegment
Throws:
IOException

getPacket

public VirtualPacket getPacket()

getTrack

public int getTrack()


Copyright © 2013. All Rights Reserved.