org.jcodec.movtool.streaming.tracks
Class FilePool.PoolChannel

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.SeekableByteChannelWrapper
      extended by org.jcodec.movtool.streaming.tracks.FilePool.PoolChannel
All Implemented Interfaces:
Closeable, ByteChannel, Channel, ReadableByteChannel, WritableByteChannel, SeekableByteChannel
Enclosing class:
FilePool

public class FilePool.PoolChannel
extends SeekableByteChannelWrapper


Field Summary
 
Fields inherited from class org.jcodec.movtool.streaming.tracks.SeekableByteChannelWrapper
src
 
Constructor Summary
FilePool.PoolChannel(SeekableByteChannel src)
           
 
Method Summary
 void close()
           
 boolean isOpen()
           
 
Methods inherited from class org.jcodec.movtool.streaming.tracks.SeekableByteChannelWrapper
position, position, read, size, truncate, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePool.PoolChannel

public FilePool.PoolChannel(SeekableByteChannel src)
                     throws IOException
Throws:
IOException
Method Detail

isOpen

public boolean isOpen()
Specified by:
isOpen in interface Channel
Overrides:
isOpen in class SeekableByteChannelWrapper

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface Channel
Overrides:
close in class SeekableByteChannelWrapper
Throws:
IOException


Copyright © 2013. All Rights Reserved.