| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.util | |
| org.jruby.util.io |
| Modifier and Type | Method and Description |
|---|---|
static ModeFlags |
RubyIO.getIOModes(Ruby runtime,
java.lang.String modesString)
Deprecated.
|
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
int mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
long mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
java.lang.String mode) |
| Modifier and Type | Method and Description |
|---|---|
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
ModeFlags modeFlags) |
| Modifier and Type | Method and Description |
|---|---|
default java.nio.channels.Channel |
FileResource.openChannel(ModeFlags flags,
int perm)
Deprecated.
use
FileResource.openChannel(int, int) instead |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject[] strings,
java.util.Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
java.util.Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
ModeFlags modes) |
| Constructor and Description |
|---|
POpenProcess(java.lang.Process child,
Ruby runtime,
ModeFlags modes) |
| Modifier and Type | Method and Description |
|---|---|
static ModeFlags |
ModeFlags.createModeFlags(int oflags) |
ModeFlags |
IOOptions.getModeFlags() |
static ModeFlags |
ModeFlags.getModesFromChannel(java.nio.channels.Channel channel)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModeFlags.isSubsetOf(ModeFlags superset)
Check whether the target set of flags is a superset of this one; used to
ensure that a file is not re-opened with more privileges than it already
had.
|
java.nio.channels.Channel |
PosixShim.open(java.lang.String cwd,
java.lang.String path,
ModeFlags flags,
int perm) |
java.nio.channels.Channel |
PosixShim.open(java.lang.String cwd,
java.lang.String path,
ModeFlags flags,
int perm,
java.lang.ClassLoader classLoader)
Deprecated.
|
void |
IOOptions.setModeFlags(ModeFlags modeFlags) |
| Constructor and Description |
|---|
IOOptions(ModeFlags modeFlags)
Construct a new IOOptions object with ModeFlags and EncodingOption
|
Copyright © 2001-2022 JRuby. All Rights Reserved.