Class IOOptions

java.lang.Object
org.jruby.util.io.IOOptions
All Implemented Interfaces:
Cloneable

public class IOOptions extends Object implements Cloneable
Represents a combination of stream-opening flags (ModeFlags) and encoding settings (EncodingOption).
  • Constructor Details

    • IOOptions

      public IOOptions(ModeFlags modeFlags)
      Construct a new IOOptions object with ModeFlags and EncodingOption
    • IOOptions

      public IOOptions(Ruby runtime, String modeString) throws InvalidValueException
      Construct a new ModeFlags object by parsing the given string
      Parameters:
      modeString - the string
      Throws:
      InvalidValueException
  • Method Details