Package org.jruby.util.io
package org.jruby.util.io
-
ClassDescriptionA Utility class to emulate blocking I/O operations on non-blocking channels.Created by headius on 5/24/14.Helper that attempts to improve Channels' static helpers.Fallback function to provide replacements for characters that fail to transcode.Utilities for working with native fileno and Java structures that wrap them.Encapsulation of the prepare_getline_args logic from MRI, used by StringIO and IO.Getline.Callback<Self,
Return extends IRubyObject> Represents an IO encodable object.Represents a combination of stream-opening flags (ModeFlags) and encoding settings (EncodingOption).This file represents the POSIX-like mode flags an open channel (as in a ChannelDescriptor) can have.Port of MRI's popen+exec logic.Created by headius on 7/22/14.Representations of as many native posix functions as possible applied to an NIO channelA wrapper forOutputStream
that throws no IOException, instead raising Ruby Exception (unchecked) via the passed-in runtime.Created by headius on 6/3/14.This is a simple implementation of a hard-referenced java.nio.channels.Selector pool.A ByteArrayOutputStream that provides access to the contained byte[] buffer.