Uses of Class
org.jruby.util.io.ModeFlags

Packages that use ModeFlags
org.jruby   
org.jruby.util   
org.jruby.util.io   
 

Uses of ModeFlags in org.jruby
 

Methods in org.jruby that return ModeFlags
static ModeFlags RubyIO.getIOModes(Ruby runtime, java.lang.String modesString)
           
protected  ModeFlags RubyIO.parseModes(IRubyObject arg)
           
protected  ModeFlags RubyIO.parseModes19(ThreadContext context, IRubyObject arg)
           
protected  ModeFlags RubyIO.updateModesFromOptions(ThreadContext context, RubyHash options, ModeFlags modes)
          See http://ruby-doc.org/core-1.9.3/IO.html#method-c-new for the format of modes in options
 

Methods in org.jruby with parameters of type ModeFlags
protected  Stream RubyIO.fdopen(ChannelDescriptor existingDescriptor, ModeFlags modes)
           
protected  void RubyFile.openInternal(java.lang.String path, java.lang.String modeString, ModeFlags modes)
           
protected  void RubyFile.openInternal19(ThreadContext context, java.lang.String path, RubyHash options, java.lang.String modeString, ModeFlags modes)
           
protected  void RubyFile.sysopenInternal(java.lang.String path, ModeFlags modes, int perm)
           
protected  void RubyFile.sysopenInternal19(ThreadContext context, java.lang.String path, RubyHash options, ModeFlags modes, int perm)
           
protected  ModeFlags RubyIO.updateModesFromOptions(ThreadContext context, RubyHash options, ModeFlags modes)
          See http://ruby-doc.org/core-1.9.3/IO.html#method-c-new for the format of modes in options
 

Constructors in org.jruby with parameters of type ModeFlags
RubyIO(Ruby runtime, RubyClass cls, ShellLauncher.POpenProcess process, RubyHash options, ModeFlags modes)
           
RubyIO(Ruby runtime, ShellLauncher.POpenProcess process, ModeFlags modes)
           
 

Uses of ModeFlags in org.jruby.util
 

Methods in org.jruby.util with parameters of type ModeFlags
static ShellLauncher.POpenProcess ShellLauncher.popen(Ruby runtime, IRubyObject[] strings, java.util.Map env, ModeFlags modes)
           
static ShellLauncher.POpenProcess ShellLauncher.popen(Ruby runtime, IRubyObject string, ModeFlags modes)
           
 

Constructors in org.jruby.util with parameters of type ModeFlags
ShellLauncher.POpenProcess(java.lang.Process child, Ruby runtime, ModeFlags modes)
           
 

Uses of ModeFlags in org.jruby.util.io
 

Fields in org.jruby.util.io declared as ModeFlags
protected  ModeFlags ChannelStream.modes
           
 

Methods in org.jruby.util.io that return ModeFlags
 ModeFlags CRLFStreamWrapper.getModes()
           
 ModeFlags ChannelStream.getModes()
           
 ModeFlags Stream.getModes()
           
 ModeFlags ChannelDescriptor.getOriginalModes()
          Get the original mode flags for the descriptor.
 

Methods in org.jruby.util.io with parameters of type ModeFlags
 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 ChannelStream.checkPermissionsSubsetOf(ModeFlags subsetModes)
           
static Stream ChannelStream.fdopen(Ruby runtime, ChannelDescriptor descriptor, ModeFlags modes)
           
static Stream ChannelStream.fdopen(Ruby runtime, ChannelDescriptor descriptor, ModeFlags modes, boolean autoclose)
           
static Stream ChannelStream.fopen(Ruby runtime, java.lang.String path, ModeFlags modes)
           
 void CRLFStreamWrapper.freopen(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)
           
 boolean ModeFlags.isSubsetOf(ModeFlags superset)
          Check whether the target set of flags is a superset of this one; used to ensure that a file is not re-opened with more privileges than it already had.
static ChannelDescriptor ChannelDescriptor.open(java.lang.String cwd, java.lang.String path, ModeFlags flags)
          Open a new descriptor using the given working directory, file path, mode flags, and file permission.
static ChannelDescriptor ChannelDescriptor.open(java.lang.String cwd, java.lang.String path, ModeFlags flags, java.lang.ClassLoader classLoader)
          Open a new descriptor using the given working directory, file path, mode flags, and file permission.
static ChannelDescriptor ChannelDescriptor.open(java.lang.String cwd, java.lang.String path, ModeFlags flags, int perm, org.jruby.ext.posix.POSIX posix)
          Open a new descriptor using the given working directory, file path, mode flags, and file permission.
static ChannelDescriptor ChannelDescriptor.open(java.lang.String cwd, java.lang.String path, ModeFlags flags, int perm, org.jruby.ext.posix.POSIX posix, java.lang.ClassLoader classLoader)
          Open a new descriptor using the given working directory, file path, mode flags, and file permission.
 ChannelDescriptor ChannelDescriptor.reopen(java.nio.channels.Channel channel, ModeFlags modes)
           
 ChannelDescriptor ChannelDescriptor.reopen(java.io.RandomAccessFile file, ModeFlags modes)
           
 

Constructors in org.jruby.util.io with parameters of type ModeFlags
ChannelDescriptor(java.nio.channels.Channel channel, ModeFlags originalModes)
          Construct a new ChannelDescriptor with the given channel, file number, mode flags, and file descriptor object.
ChannelDescriptor(java.nio.channels.Channel channel, ModeFlags originalModes, java.io.FileDescriptor fileDescriptor)
          Construct a new ChannelDescriptor with the given channel, file number, mode flags, and file descriptor object.
ChannelDescriptor(java.io.InputStream baseInputStream, ModeFlags originalModes)
          Special constructor to create the ChannelDescriptor out of the stream, file number, mode flags, and file descriptor object.
ChannelDescriptor(java.io.InputStream baseInputStream, ModeFlags originalModes, java.io.FileDescriptor fileDescriptor)
          Special constructor to create the ChannelDescriptor out of the stream, file number, mode flags, and file descriptor object.
 



Copyright © 2002-2009 JRuby Team. All Rights Reserved.