Top Description Inners Constructors Methods
org.jruby.javasupport.ext

public abstract Class JavaIo

extends Object
Class Inheritance
Imports
org.jruby.Ruby, .RubyIO, .RubyModule, org.jruby.internal.runtime.methods.JavaMethod, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject

java.io package Ruby additions.
Author
kares

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
private static void
setAutoclose(final ThreadContext context, final RubyIO io, final IRubyObject opts)

pack-priv static RubyIO
to_io(final ThreadContext context, final InputStream stream, final IRubyObject opts)

pack-priv static RubyIO
to_io(final ThreadContext context, final OutputStream stream, final IRubyObject opts)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JavaIoback to summary
public JavaIo()

Method Detail

defineback to summary
public static void define(ThreadContext context)
setAutocloseback to summary
private static void setAutoclose(final ThreadContext context, final RubyIO io, final IRubyObject opts)
to_ioback to summary
pack-priv static RubyIO to_io(final ThreadContext context, final InputStream stream, final IRubyObject opts)
to_ioback to summary
pack-priv static RubyIO to_io(final ThreadContext context, final OutputStream stream, final IRubyObject opts)
org.jruby.javasupport.ext back to summary

private final Class JavaIo.ChannelToIO

extends JavaMethodZeroOrOne
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public RubyIO
public RubyIO
private static RubyIO
to_io(final ThreadContext context, final IRubyObject self, final IRubyObject opts)

Inherited from org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOne:
call

Constructor Detail

ChannelToIOback to summary
pack-priv ChannelToIO(RubyModule implClass)

Method Detail

callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrN.call.

Annotations
@Override
callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject opts)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOneOrN.call.

Annotations
@Override
to_ioback to summary
private static RubyIO to_io(final ThreadContext context, final IRubyObject self, final IRubyObject opts)
org.jruby.javasupport.ext back to summary

private final Class JavaIo.InputStreamToIO

extends JavaMethodZeroOrOne
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public RubyIO
public RubyIO
Inherited from org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOne:
call

Constructor Detail

InputStreamToIOback to summary
pack-priv InputStreamToIO(RubyModule implClass)

Method Detail

callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrN.call.

Annotations
@Override
callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject opts)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOneOrN.call.

Annotations
@Override
org.jruby.javasupport.ext back to summary

private final Class JavaIo.OutputStreamToIO

extends JavaMethodZeroOrOne
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public RubyIO
public RubyIO
Inherited from org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOne:
call

Constructor Detail

OutputStreamToIOback to summary
pack-priv OutputStreamToIO(RubyModule implClass)

Method Detail

callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrN.call.

Annotations
@Override
callback to summary
public RubyIO call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject opts)

Implements abstract org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOneOrN.call.

Annotations
@Override