public class UnmarshalStream extends InputStream
Constructor and Description |
---|
UnmarshalStream(Ruby runtime,
InputStream in,
IRubyObject proc,
boolean taint) |
UnmarshalStream(Ruby runtime,
InputStream in,
IRubyObject proc,
boolean taint,
boolean untrust)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
defaultVariablesUnmarshal(IRubyObject object) |
static RubyClass |
getClassFromPath(Ruby runtime,
String path) |
static RubyModule |
getModuleFromPath(Ruby runtime,
String path) |
Ruby |
getRuntime() |
int |
read() |
byte |
readSignedByte() |
int |
readUnsignedByte() |
void |
registerLinkTarget(IRubyObject newObject) |
int |
unmarshalInt() |
IRubyObject |
unmarshalObject() |
IRubyObject |
unmarshalObject(boolean callProc) |
IRubyObject |
unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state) |
IRubyObject |
unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state,
boolean callProc) |
org.jruby.util.ByteList |
unmarshalString() |
available, close, mark, markSupported, read, read, reset, skip
protected final Ruby runtime
public UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint) throws IOException
IOException
@Deprecated public UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint, boolean untrust) throws IOException
IOException
public IRubyObject unmarshalObject() throws IOException
IOException
public IRubyObject unmarshalObject(boolean callProc) throws IOException
IOException
public IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state) throws IOException
IOException
public IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state, boolean callProc) throws IOException
IOException
public void registerLinkTarget(IRubyObject newObject)
public static RubyModule getModuleFromPath(Ruby runtime, String path)
public Ruby getRuntime()
public int readUnsignedByte() throws IOException
IOException
public byte readSignedByte() throws IOException
IOException
public org.jruby.util.ByteList unmarshalString() throws IOException
IOException
public int unmarshalInt() throws IOException
IOException
public void defaultVariablesUnmarshal(IRubyObject object) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2001-2015 JRuby. All Rights Reserved.