org.jruby.util
Class IOReader

java.lang.Object
  extended by java.io.Reader
      extended by org.jruby.util.IOReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class IOReader
extends java.io.Reader

Version:
$Revision$
Author:
Ola Bini

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
IOReader(IRubyObject io)
           
 
Method Summary
 void close()
           
 int read(char[] arr, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOReader

public IOReader(IRubyObject io)
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException

read

public int read(char[] arr,
                int off,
                int len)
Specified by:
read in class java.io.Reader


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