public class IOInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
IOInputStream(IRubyObject io)
Creates a new InputStream with the object provided.
|
public IOInputStream(IRubyObject io)
io - the ruby objectpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionCopyright © 2002-2009 JRuby Team. All Rights Reserved.