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 |
Stream.fgetpos()
Get the current position within the file associated with this
handler.
|
long |
CRLFStreamWrapper.fgetpos() |
long |
ChannelStream.fgetpos()
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.
|
void |
Stream.ftruncate(long newLength) |
void |
CRLFStreamWrapper.ftruncate(long newLength) |
void |
ChannelStream.ftruncate(long newLength)
Deprecated.
|
static int |
OpenFile.getFModeFromString(String modesString)
Deprecated.
|
static int |
ModeFlags.getOFlagsFromString(String modesString) |
void |
Stream.lseek(long offset,
int type)
Perform a seek based on pos().
|
void |
CRLFStreamWrapper.lseek(long offset,
int type) |
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).
|
long |
ChannelDescriptor.lseek(long offset,
int whence)
Deprecated.
Perform a low-level seek operation on the associated channel if it is
instanceof FileChannel, or raise PipeException if it is not a FileChannel.
|
Constructor and Description |
---|
ChannelDescriptor(Channel channel)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number,
and file descriptor object.
|
ChannelDescriptor(Channel channel,
FileDescriptor fileDescriptor)
Deprecated.
Construct a new ChannelDescriptor with the given channel, file number,
and file descriptor object.
|
ChannelDescriptor(Channel channel,
int fileno,
FileDescriptor fileDescriptor)
Deprecated.
|
IOOptions(Ruby runtime,
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(String flagString) |
Copyright © 2001-2015 JRuby. All Rights Reserved.