| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.util.io |
| Modifier and Type | Method and Description |
|---|---|
protected Stream |
RubyIO.fdopen(ChannelDescriptor existingDescriptor,
ModeFlags modes) |
private Stream |
RubyFile.fopen(java.lang.String path,
ModeFlags flags) |
Stream |
RubyIO.getHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private org.jruby.util.ByteList |
RubyIO.blockingFRead(Stream stream,
RubyThread thread,
int length) |
private IRubyObject |
RubyIO.getcDirect(ThreadContext context,
Stream stream,
org.jcodings.Encoding enc) |
private IRubyObject |
RubyIO.getcTranscoded(ThreadContext context,
Stream stream) |
private IRubyObject |
RubyIO.ioGetc(ThreadContext context,
Stream stream) |
private void |
RubyIO.readCheck(Stream stream) |
private boolean |
RubyIO.waitReadable(Stream stream) |
private boolean |
RubyIO.waitWritable(Stream stream) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelStream
This file implements a seekable IO file.
|
class |
CRLFStreamWrapper
Wrapper around Stream that packs and unpacks LF <=> CRLF.
|
| Modifier and Type | Field and Description |
|---|---|
private Stream |
OpenFile.mainStream |
private Stream |
OpenFile.pipeStream |
private Stream |
CRLFStreamWrapper.stream |
| Modifier and Type | Method and Description |
|---|---|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose) |
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
Stream |
OpenFile.getMainStream() |
Stream |
OpenFile.getMainStreamSafe() |
Stream |
OpenFile.getPipeStream() |
Stream |
OpenFile.getPipeStreamSafe() |
Stream |
OpenFile.getWriteStream() |
Stream |
OpenFile.getWriteStreamSafe() |
private static Stream |
ChannelStream.maybeWrapWithLineEndingWrapper(Stream stream,
ModeFlags modes) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor,
boolean autoclose) |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenFile.fflush(Stream stream) |
private void |
OpenFile.flushBeforeSeek(Stream stream) |
private static Stream |
ChannelStream.maybeWrapWithLineEndingWrapper(Stream stream,
ModeFlags modes) |
private void |
OpenFile.seekInternal(Stream stream,
long offset,
int whence) |
void |
OpenFile.setMainStream(Stream mainStream) |
void |
OpenFile.setPipeStream(Stream pipeStream) |
| Constructor and Description |
|---|
CRLFStreamWrapper(Stream stream) |