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 OutputStreamIOExceptionpublic void write(byte[] b)
           throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
         int off,
         int len)
           throws IOException
write in class OutputStreamIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2001-2015 JRuby. All Rights Reserved.