org.das2.util
Class InflaterChannel

java.lang.Object
  extended by org.das2.util.InflaterChannel
All Implemented Interfaces:
java.io.Closeable, java.nio.channels.Channel, java.nio.channels.ReadableByteChannel

public class InflaterChannel
extends java.lang.Object
implements java.nio.channels.ReadableByteChannel


Constructor Summary
InflaterChannel(java.nio.channels.ReadableByteChannel in)
          Creates a new instance of InflaterChannel
 
Method Summary
 void close()
           
 boolean isOpen()
           
 int read(java.nio.ByteBuffer dst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InflaterChannel

public InflaterChannel(java.nio.channels.ReadableByteChannel in)
Creates a new instance of InflaterChannel

Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in interface java.nio.channels.Channel
Throws:
java.io.IOException

isOpen

public boolean isOpen()
Specified by:
isOpen in interface java.nio.channels.Channel

read

public int read(java.nio.ByteBuffer dst)
         throws java.io.IOException
Specified by:
read in interface java.nio.channels.ReadableByteChannel
Throws:
java.io.IOException