Top Description Fields Constructors Methods
org.jruby.util.io

public Class IOOptions

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
org.jruby.Ruby

Represents a combination of stream-opening flags (ModeFlags) and encoding settings (EncodingOption).

Field Summary

Modifier and TypeField and Description
private ModeFlags

Constructor Summary

AccessConstructor and Description
public
IOOptions(ModeFlags modeFlags)

Construct a new IOOptions object with ModeFlags and EncodingOption

public
IOOptions(Ruby runtime, String
the string
modeString
)

Construct a new ModeFlags object by parsing the given string

Method Summary

Modifier and TypeMethod and Description
public ModeFlags
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

modeFlagsback to summary
private ModeFlags modeFlags

Constructor Detail

IOOptionsback to summary
public IOOptions(ModeFlags modeFlags)

Construct a new IOOptions object with ModeFlags and EncodingOption

IOOptionsback to summary
public IOOptions(Ruby runtime, String modeString) throws InvalidValueException

Construct a new ModeFlags object by parsing the given string

Parameters
modeString:String

the string

Method Detail

getModeFlagsback to summary
public ModeFlags getModeFlags()
setModeFlagsback to summary
public void setModeFlags(ModeFlags modeFlags)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override