org.jcodec.movtool.streaming
Class MovieRange

java.lang.Object
  extended by java.io.InputStream
      extended by org.jcodec.movtool.streaming.MovieRange
All Implemented Interfaces:
Closeable

public class MovieRange
extends InputStream

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Retrieves a movie range

Author:
The JCodec project

Constructor Summary
MovieRange(VirtualMovie movie, long from, long to)
           
 
Method Summary
 int read()
           
 int read(byte[] b, int from, int len)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieRange

public MovieRange(VirtualMovie movie,
                  long from,
                  long to)
           throws IOException
Throws:
IOException
Method Detail

read

public int read(byte[] b,
                int from,
                int len)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException


Copyright © 2013. All Rights Reserved.