| Modifier and Type | Field and Description |
|---|---|
| private final CallSite | |
| private final Encoding | |
| private final IRubyObject | |
| private final RubyIO | |
| private final Ruby | |
| private final CallSite |
| Access | Constructor and Description |
|---|---|
| public | IOOutputStream(final IRubyObject
the ruby object io, Encoding encoding, boolean checkAppend, boolean verifyCanWrite)Creates a new OutputStream with the object provided. |
| public | |
| public | IOOutputStream(final IRubyObject
the ruby object io)Creates a new OutputStream with the object provided. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with this stream. |
| protected boolean | |
| protected RubyIO | |
| public void | write(final int
the bite)byte.Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(final byte[]
the data. b)Overrides java. Writes |
| public void | write(final byte[]
the data. b, final int the start offset in the data. off, final int the number of bytes to write. len)Overrides java. Writes |
| closeAdapter | back to summary |
|---|---|
| private final CallSite closeAdapter | |
| encoding | back to summary |
|---|---|
| private final Encoding encoding | |
| io | back to summary |
|---|---|
| private final IRubyObject io | |
| realIO | back to summary |
|---|---|
| private final RubyIO realIO | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| writeAdapter | back to summary |
|---|---|
| private final CallSite writeAdapter | |
| IOOutputStream | back to summary |
|---|---|
| public IOOutputStream(final IRubyObject io, Encoding encoding, boolean checkAppend, boolean verifyCanWrite) Creates a new OutputStream with the object provided.
| |
| IOOutputStream | back to summary |
|---|---|
| public IOOutputStream(final IRubyObject io, boolean checkAppend, boolean verifyCanWrite) | |
| IOOutputStream | back to summary |
|---|---|
| public IOOutputStream(final IRubyObject io) Creates a new OutputStream with the object provided.
| |
| IOOutputStream | back to summary |
|---|---|
| public IOOutputStream(final IRubyObject io, Encoding encoding) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| fastWritable | back to summary |
|---|---|
| protected boolean fastWritable(RubyIO io) | |
| getRealIO | back to summary |
|---|---|
| protected RubyIO getRealIO(IRubyObject io) | |
| write | back to summary |
|---|---|
| public void write(final int bite) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b, final int off, final int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |