Package | Description |
---|---|
org.jruby | |
org.jruby.util | |
org.jruby.util.io |
Modifier and Type | Method and Description |
---|---|
static ModeFlags |
RubyIO.getIOModes(Ruby runtime,
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,
String mode) |
Modifier and Type | Method and Description |
---|---|
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
ModeFlags modeFlags) |
Modifier and Type | Method and Description |
---|---|
Channel |
URLResource.openChannel(ModeFlags flags,
int perm) |
Channel |
FileResource.openChannel(ModeFlags flags,
int perm) |
Channel |
EmptyFileResource.openChannel(ModeFlags flags,
int perm) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject[] strings,
Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
ModeFlags modes) |
Constructor and Description |
---|
ShellLauncher.POpenProcess(Process child,
Ruby runtime,
ModeFlags modes) |
Modifier and Type | Field and Description |
---|---|
protected ModeFlags |
ChannelStream.modes
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ModeFlags |
ModeFlags.createModeFlags(int oflags) |
ModeFlags |
IOOptions.getModeFlags() |
ModeFlags |
Stream.getModes() |
ModeFlags |
CRLFStreamWrapper.getModes() |
ModeFlags |
ChannelStream.getModes()
Deprecated.
|
static ModeFlags |
ModeFlags.getModesFromChannel(Channel channel)
Deprecated.
|
ModeFlags |
ChannelDescriptor.getOriginalModes()
Deprecated.
Get the original mode flags for the descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
ChannelDescriptor.checkNewModes(ModeFlags newModes)
Deprecated.
Check whether a specified set of mode flags is a superset of this
descriptor's original set of mode flags.
|
void |
ChannelStream.checkPermissionsSubsetOf(ModeFlags subsetModes)
Deprecated.
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes)
Deprecated.
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose)
Deprecated.
|
static Stream |
ChannelStream.fopen(Ruby runtime,
String path,
ModeFlags modes)
Deprecated.
|
void |
Stream.freopen(Ruby runtime,
String path,
ModeFlags modes) |
void |
CRLFStreamWrapper.freopen(Ruby runtime,
String path,
ModeFlags modes) |
void |
ChannelStream.freopen(Ruby runtime,
String path,
ModeFlags modes)
Deprecated.
|
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.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags)
Deprecated.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
ClassLoader classLoader)
Deprecated.
|
Channel |
PosixShim.open(String cwd,
String path,
ModeFlags flags,
int perm) |
Channel |
PosixShim.open(String cwd,
String path,
ModeFlags flags,
int perm,
ClassLoader classLoader)
Deprecated.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
int perm,
jnr.posix.POSIX posix)
Deprecated.
|
static ChannelDescriptor |
ChannelDescriptor.open(String cwd,
String path,
ModeFlags flags,
int perm,
jnr.posix.POSIX posix,
ClassLoader classLoader)
Deprecated.
|
ChannelDescriptor |
ChannelDescriptor.reopen(Channel channel,
ModeFlags modes)
Deprecated.
|
ChannelDescriptor |
ChannelDescriptor.reopen(RandomAccessFile file,
ModeFlags modes)
Deprecated.
|
void |
IOOptions.setModeFlags(ModeFlags modeFlags) |
void |
Stream.setModes(ModeFlags modeFlags) |
void |
CRLFStreamWrapper.setModes(ModeFlags modes) |
void |
ChannelStream.setModes(ModeFlags modes)
Deprecated.
|
Constructor and Description |
---|
ChannelDescriptor(Channel channel,
ModeFlags originalModes)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number, mode flags,
and file descriptor object.
|
ChannelDescriptor(Channel channel,
ModeFlags originalModes,
FileDescriptor fileDescriptor)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number, mode flags,
and file descriptor object.
|
ChannelDescriptor(Channel channel,
ModeFlags originalModes,
FileDescriptor fileDescriptor,
boolean isInAppendMode)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number, mode flags,
and file descriptor object.
|
ChannelDescriptor(InputStream baseInputStream,
ModeFlags originalModes)
Deprecated.
Special constructor to create the ChannelDescriptor out of the stream, file number,
mode flags, and file descriptor object.
|
ChannelDescriptor(InputStream baseInputStream,
ModeFlags originalModes,
FileDescriptor fileDescriptor)
Deprecated.
Special constructor to create the ChannelDescriptor out of the stream, file number,
mode flags, and file descriptor object.
|
IOOptions(ModeFlags modeFlags)
Construct a new IOOptions object with ModeFlags and EncodingOption
|
Copyright © 2001-2015 JRuby. All Rights Reserved.