|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BadDescriptorException | |
---|---|
org.jruby | |
org.jruby.util.io |
Uses of BadDescriptorException in org.jruby |
---|
Methods in org.jruby that throw BadDescriptorException | |
---|---|
IRubyObject |
RubyIO.close_read()
|
IRubyObject |
RubyIO.close_write()
|
IRubyObject |
RubyIO.getlineFast(int delim)
|
protected IRubyObject |
RubyIO.readAll(IRubyObject buffer)
|
protected boolean |
RubyIO.swallow(int term)
|
Uses of BadDescriptorException in org.jruby.util.io |
---|
Methods in org.jruby.util.io that throw BadDescriptorException | |
---|---|
boolean |
OpenFile.areBothEOF()
|
void |
ChannelDescriptor.checkOpen()
Check whether the isOpen returns true, raising a BadDescriptorException if it returns false. |
void |
OpenFile.checkReadable(Ruby runtime)
|
void |
OpenFile.checkWritable(Ruby runtime)
|
void |
ChannelDescriptor.close()
Close this descriptor. |
void |
ChannelDescriptor.dup2Into(ChannelDescriptor other)
Mimics the POSIX dup2(2) function, returning a new descriptor that references the same open channel but with a specified fileno. |
void |
ChannelStream.fclose()
Close IO handler resources. |
void |
Stream.fclose()
|
boolean |
ChannelStream.feof()
|
boolean |
Stream.feof()
Return true when at end of file (EOF). |
int |
ChannelStream.fflush()
|
int |
Stream.fflush()
|
void |
OpenFile.fflush(Stream stream)
|
int |
ChannelStream.fgetc()
|
int |
Stream.fgetc()
|
long |
ChannelStream.fgetpos()
|
long |
Stream.fgetpos()
Get the current position within the file associated with this handler. |
ByteList |
ChannelStream.fgets(ByteList separatorString)
|
ByteList |
Stream.fgets(ByteList separatorString)
|
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
|
void |
ChannelStream.fputc(int c)
|
void |
Stream.fputc(int c)
|
ByteList |
ChannelStream.fread(int number)
|
ByteList |
Stream.fread(int number)
|
void |
ChannelStream.freopen(java.lang.String path,
ModeFlags modes)
|
void |
Stream.freopen(java.lang.String path,
ModeFlags modes)
|
void |
ChannelStream.ftruncate(long newLength)
|
void |
Stream.ftruncate(long newLength)
|
int |
ChannelStream.fwrite(ByteList string)
|
int |
Stream.fwrite(ByteList string)
|
int |
ChannelDescriptor.internalWrite(java.nio.ByteBuffer buffer)
Write the bytes in the specified byte list to the associated channel. |
long |
ChannelDescriptor.lseek(long offset,
int whence)
Perform a low-level seek operation on the associated channel if it is instanceof FileChannel, or raise PipeException if it is not a FileChannel. |
void |
ChannelStream.lseek(long offset,
int type)
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)
Perform a seek based on pos(). |
int |
ChannelStream.read()
|
int |
ChannelDescriptor.read(java.nio.ByteBuffer buffer)
Perform a low-level read of the remaining number of bytes into the specified byte buffer. |
ByteList |
ChannelStream.read(int number)
|
ByteList |
Stream.read(int number)
|
int |
ChannelDescriptor.read(int number,
ByteList byteList)
Perform a low-level read of the specified number of bytes into the specified byte list. |
ByteList |
ChannelStream.readall()
|
ByteList |
Stream.readall()
|
ByteList |
ChannelStream.readpartial(int number)
|
void |
OpenFile.seek(long offset,
int whence)
|
void |
ChannelStream.sync()
|
void |
Stream.sync()
Flush and sync all writes to the filesystem. |
int |
ChannelDescriptor.write(java.nio.ByteBuffer buffer)
Write the bytes in the specified byte list to the associated channel. |
int |
ChannelDescriptor.write(ByteList buf)
Write the bytes in the specified byte list to the associated channel. |
int |
ChannelDescriptor.write(ByteList buf,
int offset,
int len)
Write the bytes in the specified byte list to the associated channel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |