| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.embed.jsr223 | |
| org.jruby.ext.ffi.io | |
| org.jruby.ext.socket | |
| org.jruby.ext.tempfile | |
| org.jruby.runtime.profile.builtin |
This package contains the implementation of
ProfilingService and all related
classes will be used for all profiling methods which are shipped with jruby. |
| org.jruby.util.io |
| Modifier and Type | Class and Description |
|---|---|
class |
RubyFile
Ruby File class equivalent in java.
|
| Modifier and Type | Field and Description |
|---|---|
RubyIO |
RubyIO.POpenTuple.error |
RubyIO |
RubyIO.POpenTuple.input |
RubyIO |
RubyIO.POpenTuple.output |
| Modifier and Type | Method and Description |
|---|---|
static RubyIO |
RubyIO.convertToIO(ThreadContext context,
IRubyObject obj) |
RubyIO |
RubyIO.each_lineInternal(ThreadContext context,
IRubyObject[] args,
Block block)
Invoke a block for each line.
|
RubyIO |
RubyIO.flush()
Flushes the IO output stream.
|
private static RubyIO |
RubyIO.newFile(ThreadContext context,
IRubyObject recv,
IRubyObject... args) |
private static RubyIO |
RubyIO.newFile19(ThreadContext context,
IRubyObject recv,
IRubyObject... args) |
static RubyIO |
RubyIO.newIO(Ruby runtime,
java.nio.channels.Channel channel) |
RubyIO |
RubyIO.to_io() |
| Modifier and Type | Method and Description |
|---|---|
private static RubyArray |
RubyIO.readlinesCommon19(ThreadContext context,
RubyIO file,
IRubyObject[] newArguments) |
protected void |
RubyIO.reopenIO(Ruby runtime,
RubyIO ios) |
boolean |
RubyThread.select(java.nio.channels.Channel channel,
RubyIO io,
int ops) |
boolean |
RubyThread.select(java.nio.channels.Channel channel,
RubyIO io,
int ops,
long timeout) |
boolean |
RubyThread.select(RubyIO io,
int ops) |
boolean |
RubyThread.select(RubyIO io,
int ops,
long timeout) |
boolean |
RubyThread.selectForAccept(RubyIO io)
Deprecated.
|
boolean |
RubyThread.waitForIO(ThreadContext context,
RubyIO io,
int ops) |
| Constructor and Description |
|---|
POpenTuple(RubyIO i,
RubyIO o,
RubyIO e,
java.lang.Process p) |
| Modifier and Type | Method and Description |
|---|---|
private static RubyIO |
Utils.getRubyIO(Ruby runtime,
java.io.Writer writer) |
| Modifier and Type | Class and Description |
|---|---|
class |
FileDescriptorIO
An IO implementation that reads/writes to a native file descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
static RubyIO |
FileDescriptorIO.wrap(ThreadContext context,
IRubyObject recv,
IRubyObject fd) |
| Modifier and Type | Class and Description |
|---|---|
class |
RubyBasicSocket
Implementation of the BasicSocket class from Ruby.
|
class |
RubyIPSocket |
class |
RubyServerSocket |
class |
RubySocket |
class |
RubyTCPServer |
class |
RubyTCPSocket |
class |
RubyUDPSocket |
class |
RubyUNIXServer |
class |
RubyUNIXSocket |
| Modifier and Type | Class and Description |
|---|---|
class |
Tempfile
An implementation of tempfile.rb in Java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProfilePrinter.printProfile(RubyIO out) |
| Modifier and Type | Field and Description |
|---|---|
(package private) RubyIO[] |
SelectBlob.readIOs |
(package private) RubyIO[] |
SelectBlob.writeIOs |
| Modifier and Type | Method and Description |
|---|---|
private RubyIO |
SelectBlob.saveReadIO(int i,
ThreadContext context) |
private RubyIO |
SelectBlob.saveWriteIO(int i,
ThreadContext context) |
| Modifier and Type | Method and Description |
|---|---|
static void |
EncodingUtils.ioSetEncodingByBOM(ThreadContext context,
RubyIO io) |
static org.jcodings.Encoding |
EncodingUtils.ioStripBOM(RubyIO io) |
private static boolean |
SelectBlob.registerSelect(ThreadContext context,
java.nio.channels.Selector selector,
java.util.Map<java.lang.Character,java.lang.Integer> obj,
RubyIO ioObj,
int ops) |
private void |
SelectBlob.saveBufferedRead(RubyIO ioObj,
int i) |
private void |
SelectBlob.saveReadBlocking(RubyIO ioObj,
int i) |
private void |
SelectBlob.saveWriteBlocking(RubyIO ioObj,
int i) |
private void |
SelectBlob.trySelectRead(ThreadContext context,
java.util.Map<java.lang.Character,java.lang.Integer> attachment,
RubyIO ioObj) |
private void |
SelectBlob.trySelectWrite(ThreadContext context,
java.util.Map<java.lang.Character,java.lang.Integer> attachment,
RubyIO ioObj) |