|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InvalidValueException | |
---|---|
org.jruby | |
org.jruby.util.io |
Uses of InvalidValueException in org.jruby |
---|
Methods in org.jruby that throw InvalidValueException | |
---|---|
protected Stream |
RubyIO.fdopen(ChannelDescriptor existingDescriptor,
ModeFlags modes)
|
static ModeFlags |
RubyIO.getIOModes(Ruby runtime,
java.lang.String modesString)
|
protected void |
RubyFile.openInternal(java.lang.String path,
java.lang.String modeString)
|
protected void |
RubyFile.openInternal(java.lang.String path,
java.lang.String modeString,
ModeFlags modes)
|
IRubyObject |
RubyIO.reopen(ThreadContext context,
IRubyObject[] args)
|
protected void |
RubyFile.sysopenInternal(java.lang.String path,
ModeFlags modes,
int perm)
|
Uses of InvalidValueException in org.jruby.util.io |
---|
Methods in org.jruby.util.io that throw InvalidValueException | |
---|---|
void |
ChannelDescriptor.checkNewModes(ModeFlags newModes)
Check whether a specified set of mode flags is a superset of this descriptor's original set of mode flags. |
void |
OpenFile.checkReadable(Ruby runtime)
|
void |
OpenFile.checkWritable(Ruby runtime)
|
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes)
|
long |
ChannelStream.fgetpos()
|
long |
Stream.fgetpos()
Get the current position within the file associated with this handler. |
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
|
void |
ChannelStream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
|
void |
Stream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes)
|
void |
ChannelStream.ftruncate(long newLength)
|
void |
Stream.ftruncate(long newLength)
|
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(). |
void |
OpenFile.seek(long offset,
int whence)
|
Constructors in org.jruby.util.io that throw InvalidValueException | |
---|---|
ChannelDescriptor(java.nio.channels.Channel channel,
int fileno,
java.io.FileDescriptor fileDescriptor)
Construct a new ChannelDescriptor with the given channel, file number, and file descriptor object. |
|
ChannelStream(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes)
|
|
ChannelStream(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
java.io.FileDescriptor fileDescriptor)
|
|
ModeFlags(long flags)
Construct a new ModeFlags object with the specified flags |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |