Package | Description |
---|---|
org.jruby.util.io |
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.
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes)
Deprecated.
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose)
Deprecated.
|
long |
ChannelStream.fgetpos()
Deprecated.
|
long |
Stream.fgetpos()
Deprecated.
Get the current position within the file associated with this
handler.
|
long |
CRLFStreamWrapper.fgetpos()
Deprecated.
|
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
Deprecated.
|
void |
ChannelStream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
Deprecated.
|
void |
Stream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
Deprecated.
|
void |
CRLFStreamWrapper.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
Deprecated.
|
void |
ChannelStream.ftruncate(long newLength)
Deprecated.
|
void |
Stream.ftruncate(long newLength)
Deprecated.
|
void |
CRLFStreamWrapper.ftruncate(long newLength)
Deprecated.
|
static int |
OpenFile.getFModeFromString(java.lang.String modesString)
Deprecated.
|
static int |
ModeFlags.getOFlagsFromString(java.lang.String modesString) |
long |
ChannelDescriptor.lseek(long offset,
int whence)
Deprecated.
Perform a low-level seek operation on the associated channel if it is
instanceof SeekableByteChannel, or raise PipeException if it is not a SeekableByteChannel.
|
void |
ChannelStream.lseek(long offset,
int type)
Deprecated.
Implementation of libc "lseek", which seeks on seekable streams, raises
EPIPE if the fd is assocated with a pipe, socket, or FIFO, and doesn't
do anything for other cases (like stdio).
|
void |
Stream.lseek(long offset,
int type)
Deprecated.
Perform a seek based on pos().
|
void |
CRLFStreamWrapper.lseek(long offset,
int type)
Deprecated.
|
Constructor and Description |
---|
ChannelDescriptor(java.nio.channels.Channel channel)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number,
and file descriptor object.
|
ChannelDescriptor(java.nio.channels.Channel channel,
java.io.FileDescriptor fileDescriptor)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number,
and file descriptor object.
|
ChannelDescriptor(java.nio.channels.Channel channel,
int fileno,
java.io.FileDescriptor fileDescriptor)
Deprecated.
|
IOOptions(Ruby runtime,
java.lang.String modeString)
Construct a new ModeFlags object by parsing the given string
|
ModeFlags(long flags)
Construct a new ModeFlags object with the specified flags
|
ModeFlags(java.lang.String flagString) |
Copyright © 2001-2020 JRuby. All Rights Reserved.