org.jcodec.movtool.streaming.tracks
Class FilePool

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.FilePool

public class FilePool
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A pool of open file references used to read data

Author:
The JCodec project

Nested Class Summary
 class FilePool.PoolChannel
           
 
Constructor Summary
FilePool(File file, int max)
           
 
Method Summary
 void close()
           
 SeekableByteChannel getChannel()
           
protected  SeekableByteChannel newChannel(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePool

public FilePool(File file,
                int max)
Method Detail

getChannel

public SeekableByteChannel getChannel()
                               throws IOException
Throws:
IOException

newChannel

protected SeekableByteChannel newChannel(File file)
                                  throws FileNotFoundException
Throws:
FileNotFoundException

close

public void close()


Copyright © 2013. All Rights Reserved.