org.jruby
Class RubyStringIO

java.lang.Object
  extended by org.jruby.RubyObject
      extended by org.jruby.RubyStringIO
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject

public class RubyStringIO
extends RubyObject


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
 
Fields inherited from class org.jruby.RubyObject
instanceVariables, isTrue, metaClass, NEVER, OBJECT_ALLOCATOR
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Constructor Summary
protected RubyStringIO(Ruby runtime, RubyClass klass)
           
 
Method Summary
 IRubyObject append(IRubyObject obj)
           
 IRubyObject binmode()
           
 IRubyObject close_read()
           
 IRubyObject close_write()
           
 IRubyObject close()
           
 IRubyObject closed_p()
           
 IRubyObject closed_read_p()
           
 IRubyObject closed_write_p()
           
static RubyClass createStringIOClass(Ruby runtime)
           
 IRubyObject each_byte(Block block)
           
 IRubyObject each_line(Block block)
           
 IRubyObject each(IRubyObject[] args, Block block)
           
 IRubyObject eof_p()
           
 IRubyObject eof()
           
 IRubyObject fcntl()
           
 IRubyObject fileno()
           
 IRubyObject flush()
           
 IRubyObject fsync()
           
 IRubyObject getc()
           
 IRubyObject gets(IRubyObject[] args)
           
 IRubyObject initialize(IRubyObject[] args, Block block)
           
 IRubyObject internalGets(IRubyObject[] args)
           
 IRubyObject isatty()
           
 IRubyObject length()
           
 IRubyObject lineno()
           
static IRubyObject open(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject path()
           
 IRubyObject pid()
           
 IRubyObject pos()
           
 IRubyObject print(IRubyObject[] args)
           
 IRubyObject printf(IRubyObject[] args)
           
 IRubyObject putc(IRubyObject obj)
           
 IRubyObject puts(IRubyObject[] obj)
           
 IRubyObject read(IRubyObject[] args)
           
 IRubyObject readchar()
           
 IRubyObject readline(IRubyObject[] args)
           
 IRubyObject readlines(IRubyObject[] arg)
           
 IRubyObject reopen(IRubyObject str)
           
 IRubyObject rewind()
           
 IRubyObject seek(IRubyObject[] args)
           
 IRubyObject set_lineno(RubyFixnum val)
           
 IRubyObject set_pos(RubyFixnum val)
           
 IRubyObject set_string(RubyString arg)
           
 IRubyObject set_sync(IRubyObject args)
           
 IRubyObject size()
           
 IRubyObject string()
           
 IRubyObject sync()
           
 IRubyObject syswrite(IRubyObject args)
           
 IRubyObject tell()
           
 IRubyObject truncate(RubyFixnum args)
           
 IRubyObject tty_p()
           
 IRubyObject ungetc(RubyFixnum args)
           
 IRubyObject write(IRubyObject args)
           
 
Methods inherited from class org.jruby.RubyObject
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissing, callMethodMissing, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, doClone, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, inspect, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, to_s, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RubyStringIO

protected RubyStringIO(Ruby runtime,
                       RubyClass klass)
Method Detail

createStringIOClass

public static RubyClass createStringIOClass(Ruby runtime)

open

public static IRubyObject open(IRubyObject recv,
                               IRubyObject[] args,
                               Block block)

initialize

public IRubyObject initialize(IRubyObject[] args,
                              Block block)
Overrides:
initialize in class RubyObject

append

public IRubyObject append(IRubyObject obj)

binmode

public IRubyObject binmode()

close

public IRubyObject close()

closed_p

public IRubyObject closed_p()

close_read

public IRubyObject close_read()

closed_read_p

public IRubyObject closed_read_p()

close_write

public IRubyObject close_write()

closed_write_p

public IRubyObject closed_write_p()

each

public IRubyObject each(IRubyObject[] args,
                        Block block)

each_byte

public IRubyObject each_byte(Block block)

each_line

public IRubyObject each_line(Block block)

eof

public IRubyObject eof()

eof_p

public IRubyObject eof_p()

fcntl

public IRubyObject fcntl()

fileno

public IRubyObject fileno()

flush

public IRubyObject flush()

fsync

public IRubyObject fsync()

getc

public IRubyObject getc()

internalGets

public IRubyObject internalGets(IRubyObject[] args)

gets

public IRubyObject gets(IRubyObject[] args)

isatty

public IRubyObject isatty()

tty_p

public IRubyObject tty_p()

length

public IRubyObject length()

lineno

public IRubyObject lineno()

set_lineno

public IRubyObject set_lineno(RubyFixnum val)

path

public IRubyObject path()

pid

public IRubyObject pid()

pos

public IRubyObject pos()

tell

public IRubyObject tell()

set_pos

public IRubyObject set_pos(RubyFixnum val)

print

public IRubyObject print(IRubyObject[] args)

printf

public IRubyObject printf(IRubyObject[] args)

putc

public IRubyObject putc(IRubyObject obj)

puts

public IRubyObject puts(IRubyObject[] obj)

read

public IRubyObject read(IRubyObject[] args)

readchar

public IRubyObject readchar()

readline

public IRubyObject readline(IRubyObject[] args)

readlines

public IRubyObject readlines(IRubyObject[] arg)

reopen

public IRubyObject reopen(IRubyObject str)

rewind

public IRubyObject rewind()

seek

public IRubyObject seek(IRubyObject[] args)

size

public IRubyObject size()

string

public IRubyObject string()

set_string

public IRubyObject set_string(RubyString arg)

sync

public IRubyObject sync()

set_sync

public IRubyObject set_sync(IRubyObject args)

syswrite

public IRubyObject syswrite(IRubyObject args)

truncate

public IRubyObject truncate(RubyFixnum args)

ungetc

public IRubyObject ungetc(RubyFixnum args)

write

public IRubyObject write(IRubyObject args)


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