public class IOOutputStream extends OutputStream
Constructor and Description |
---|
IOOutputStream(IRubyObject io)
Creates a new OutputStream with the object provided.
|
IOOutputStream(IRubyObject io,
boolean checkAppend,
boolean verifyCanWrite) |
IOOutputStream(IRubyObject io,
org.jcodings.Encoding encoding) |
IOOutputStream(IRubyObject io,
org.jcodings.Encoding encoding,
boolean checkAppend,
boolean verifyCanWrite)
Creates a new OutputStream with the object provided.
|
public IOOutputStream(IRubyObject io, org.jcodings.Encoding encoding, boolean checkAppend, boolean verifyCanWrite)
io
- the ruby objectpublic IOOutputStream(IRubyObject io, boolean checkAppend, boolean verifyCanWrite)
public IOOutputStream(IRubyObject io)
io
- the ruby objectpublic IOOutputStream(IRubyObject io, org.jcodings.Encoding encoding)
public void write(int bite) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2001-2015 JRuby. All Rights Reserved.