C
ASM
C
AppendModeChannel
C
ArraySupport
C
AsyncReaction
C
ByteList
C
ByteListHelper
I
ByteListHolder
I
ClassDefiningClassLoader
C
ClassDefiningJRubyClassLoader
I
ClassProvider
C
ClassesLoader
C
ClasspathLauncher
I
CodePoint
C
CodeRangeSupport
I
CodeRangeable
C
CodegenUtils
C
CommonByteLists
C
ComplexPatterns
C
ConvertBytes
C
ConvertDouble
C
Converter
E
DefinedMessage
C
Dir
C
DoubleConverter
C
ERange
C
ErrnoException
E
ErrorMode
C
FastReaction
C
FileExists
C
FileIsDirectory
C
FileIsNotDirectory
I
FileResource
E
Format
C
FormatBag
C
GenericMap
C
IOChannel
C
IOError
C
IOInputStream
C
IOOutputStream
C
IOReadableByteChannel
C
IOReadableWritableByteChannel
C
IOWritableByteChannel
C
IdUtil
C
InputStreamMarkCursor
C
Inspector
C
InvalidAnnotationDescriptorException
C
InvalidArguments
C
JDBCDriverUnloader
C
JRubyClassLoader
C
JRubyFile
C
JRubyNonExistentFile
C
JRubyObjectInputStream
C
JavaNameMangler
C
Join
E
KCode
I
Kernel32
C
KeyValuePair
E
Kind
C
LaunchConfig
I
Loader
C
MRIRecursionGuard
C
Memo
C
MurmurHash
C
NClassClassLoader
E
NeighborChar
C
NoFunctionalitySignalFacade
C
NormalizedFile
C
NotFound
C
Numeric
C
OSEnvironment
C
OneShotClassLoader
C
POpenProcess
C
Pack
C
PackUtils
C
Pair
C
PerlHash
C
PermissionDenied
C
PhantomReferenceReaper
C
Random
C
RationalPatterns
C
Reaction
C
RecursiveComparator
I
RecursiveFunction
C
ReferenceReaper
C
RegexpOptions
C
RegexpSupport
C
ResourceException
C
RubyDateFormatter
C
RubyDateParser
C
RubyFileTypeDetector
C
RubyStringBuilder
C
RubyTimeOutputFormatter
C
RubyTimeParser
C
SafeDoubleParser
C
SafeFloatParser
C
SafePropertyAccessor
C
SecurityHelper
C
SelfFirstJRubyClassLoader
C
ShellLauncher
I
SignalFacade
C
SipHashInline
C
SoftReferenceReaper
C
Spec
C
Sprintf
C
StringSupport
C
StrptimeParser
C
StrptimeToken
C
SunSignalFacade
E
SymbolNameType
C
SyncReaction
C
TR
C
TimeZoneConverter
C
Token
C
TooManySymlinks
C
TrTables
I
TypeCoercer
C
TypeConverter
C
URLResource
C
URLUtil
C
UriLikePathHelper
I
Visit
C
WeakIdentityHashMap
C
WeakReferenceReaper
C
WindowsFFI
org.jruby.util. IOOutputStream
class
extends OutputStream
8 members
This class wraps a IRubyObject in an OutputStream. Depending on which messages
the IRubyObject answers to, it will have different functionality.
The point is that the IRubyObject could exhibit duck typing, in the style of IO versus StringIO, for example.
At the moment, the only functionality supported is writing, and the only requirement on the io-object is
that it responds to write() and close() like IO.
Constructors
new
new
(
IRubyObject io ,
Encoding encoding ,
boolean check_append ,
boolean verify_can_write
)
Java: <init>(org.jruby.runtime.builtin.IRubyObject io, org.jcodings.Encoding encoding, boolean checkAppend, boolean verifyCanWrite)
Creates a new OutputStream with the object provided.
name type description
io org.jruby.runtime.builtin.IRubyObject the ruby object
new
new
(
IRubyObject io ,
boolean check_append ,
boolean verify_can_write
)
Java: <init>(org.jruby.runtime.builtin.IRubyObject io, boolean checkAppend, boolean verifyCanWrite)
new
new
(
IRubyObject io
)
Java: <init>(org.jruby.runtime.builtin.IRubyObject io)
Creates a new OutputStream with the object provided.
name type description
io org.jruby.runtime.builtin.IRubyObject the ruby object
new
new
(
IRubyObject io ,
Encoding encoding
)
Java: <init>(org.jruby.runtime.builtin.IRubyObject io, org.jcodings.Encoding encoding)
Instance Methods
write
write
(
int bite
)
Java: write(int bite)
write
write
(
byte[] b
)
Java: write(byte[] b)
write
write
(
byte[] b ,
int off ,
int len
)
Java: write(byte[] b, int off, int len)
Inherited
from OutputStream