org.jruby.util
Class IOChannel.IOWritableByteChannel

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

public static class IOChannel.IOWritableByteChannel
extends IOChannel
implements java.nio.channels.WritableByteChannel


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.util.IOChannel
IOChannel.IOReadableByteChannel, IOChannel.IOReadableWritableByteChannel, IOChannel.IOWritableByteChannel
 
Constructor Summary
IOChannel.IOWritableByteChannel(IRubyObject io)
           
 
Method Summary
 int write(java.nio.ByteBuffer src)
           
 
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.IOWritableByteChannel

public IOChannel.IOWritableByteChannel(IRubyObject io)
Method Detail

write

public int write(java.nio.ByteBuffer src)
          throws java.io.IOException
Specified by:
write in interface java.nio.channels.WritableByteChannel
Throws:
java.io.IOException


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