org.jruby.util
Class IOChannel.IOReadableByteChannel

java.lang.Object
  extended by org.jruby.util.IOChannel
      extended by org.jruby.util.IOChannel.IOReadableByteChannel
All Implemented Interfaces:
java.io.Closeable, java.nio.channels.Channel, java.nio.channels.ReadableByteChannel
Enclosing class:
IOChannel

public static class IOChannel.IOReadableByteChannel
extends IOChannel
implements java.nio.channels.ReadableByteChannel


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.util.IOChannel
IOChannel.IOReadableByteChannel, IOChannel.IOReadableWritableByteChannel, IOChannel.IOWritableByteChannel
 
Constructor Summary
IOChannel.IOReadableByteChannel(IRubyObject io)
           
 
Method Summary
 int read(java.nio.ByteBuffer dst)
           
 
Methods inherited from class org.jruby.util.IOChannel
close, initReadSite, initWriteSite, isOpen, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Constructor Detail

IOChannel.IOReadableByteChannel

public IOChannel.IOReadableByteChannel(IRubyObject io)
Method Detail

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


Copyright © 2002-2007 JRuby Team. All Rights Reserved.