Package | Description |
---|---|
org.jruby.util.io |
Modifier and Type | Method and Description |
---|---|
void |
ChannelDescriptor.checkOpen()
Deprecated.
Check whether the isOpen returns true, raising a BadDescriptorException if
it returns false.
|
void |
ChannelDescriptor.close()
Deprecated.
Close this descriptor.
|
void |
ChannelDescriptor.dup2Into(ChannelDescriptor other)
Deprecated.
Mimics the POSIX dup2(2) function, returning a new descriptor that references
the same open channel but with a specified fileno.
|
void |
ChannelStream.fclose()
Deprecated.
Closes IO handler resources.
|
void |
Stream.fclose()
Deprecated.
|
void |
CRLFStreamWrapper.fclose()
Deprecated.
|
boolean |
ChannelStream.feof()
Deprecated.
|
boolean |
Stream.feof()
Deprecated.
Return true when at end of file (EOF).
|
boolean |
CRLFStreamWrapper.feof()
Deprecated.
|
int |
ChannelStream.fflush()
Deprecated.
|
int |
Stream.fflush()
Deprecated.
|
int |
CRLFStreamWrapper.fflush()
Deprecated.
|
int |
ChannelStream.fgetc()
Deprecated.
|
int |
Stream.fgetc()
Deprecated.
|
int |
CRLFStreamWrapper.fgetc()
Deprecated.
|
long |
ChannelStream.fgetpos()
Deprecated.
|
long |
Stream.fgetpos()
Deprecated.
Get the current position within the file associated with this
handler.
|
long |
CRLFStreamWrapper.fgetpos()
Deprecated.
|
ByteList |
ChannelStream.fgets(ByteList separatorString)
Deprecated.
|
ByteList |
Stream.fgets(ByteList separatorString)
Deprecated.
|
ByteList |
CRLFStreamWrapper.fgets(ByteList separatorString)
Deprecated.
|
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
Deprecated.
|
void |
ChannelStream.fputc(int c)
Deprecated.
|
void |
Stream.fputc(int c)
Deprecated.
|
void |
CRLFStreamWrapper.fputc(int c)
Deprecated.
|
ByteList |
ChannelStream.fread(int number)
Deprecated.
|
ByteList |
Stream.fread(int number)
Deprecated.
|
ByteList |
CRLFStreamWrapper.fread(int number)
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.
|
int |
ChannelStream.fwrite(ByteList string)
Deprecated.
|
int |
Stream.fwrite(ByteList string)
Deprecated.
|
int |
CRLFStreamWrapper.fwrite(ByteList string)
Deprecated.
|
int |
ChannelStream.getline(ByteList dst,
byte terminator)
Deprecated.
|
int |
Stream.getline(ByteList dst,
byte terminator)
Deprecated.
Read all bytes up to and including a terminator byte.
|
int |
CRLFStreamWrapper.getline(ByteList dst,
byte terminator)
Deprecated.
|
int |
ChannelStream.getline(ByteList dst,
byte terminator,
long limit)
Deprecated.
|
int |
Stream.getline(ByteList dst,
byte terminator,
long limit)
Deprecated.
Reads all bytes up to and including a terminator byte or until limit is reached.
|
int |
CRLFStreamWrapper.getline(ByteList dst,
byte terminator,
long limit)
Deprecated.
|
int |
ChannelDescriptor.internalWrite(java.nio.ByteBuffer buffer)
Deprecated.
Write the bytes in the specified byte list to the associated channel.
|
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.
|
int |
ChannelStream.read()
Deprecated.
|
int |
ChannelDescriptor.read(java.nio.ByteBuffer buffer)
Deprecated.
Perform a low-level read of the remaining number of bytes into the specified
byte buffer.
|
int |
ChannelStream.read(java.nio.ByteBuffer dst)
Deprecated.
|
int |
ChannelStream.read(java.nio.ByteBuffer dst,
boolean partial)
Deprecated.
|
ByteList |
ChannelStream.read(int number)
Deprecated.
|
ByteList |
Stream.read(int number)
Deprecated.
|
ByteList |
CRLFStreamWrapper.read(int number)
Deprecated.
|
int |
ChannelDescriptor.read(int number,
ByteList byteList)
Deprecated.
Perform a low-level read of the specified number of bytes into the specified
byte list.
|
ByteList |
ChannelStream.readall()
Deprecated.
readall do busy loop for the IO which has NONBLOCK bit. You
should implement the logic by yourself with fread().
|
ByteList |
Stream.readall()
Deprecated.
|
ByteList |
CRLFStreamWrapper.readall()
Deprecated.
|
ByteList |
ChannelStream.readnonblock(int number)
Deprecated.
|
ByteList |
ChannelStream.readpartial(int number)
Deprecated.
|
void |
ChannelStream.sync()
Deprecated.
|
void |
Stream.sync()
Deprecated.
Flush and sync all writes to the filesystem.
|
void |
CRLFStreamWrapper.sync()
Deprecated.
|
int |
ChannelDescriptor.write(java.nio.ByteBuffer buffer)
Deprecated.
Write the bytes in the specified byte list to the associated channel.
|
int |
ChannelStream.write(java.nio.ByteBuffer buf)
Deprecated.
|
int |
ChannelDescriptor.write(ByteList buf)
Deprecated.
Write the bytes in the specified byte list to the associated channel.
|
int |
ChannelDescriptor.write(ByteList buf,
int offset,
int len)
Deprecated.
Write the bytes in the specified byte list to the associated channel.
|
int |
ChannelDescriptor.write(int c)
Deprecated.
Write the byte represented by the specified int to the associated channel.
|
int |
ChannelStream.writenonblock(ByteList buf)
Deprecated.
|
Copyright © 2001-2020 JRuby. All Rights Reserved.