public class UnmarshalStream
extends java.io.InputStream
Modifier and Type | Class and Description |
---|---|
static class |
UnmarshalStream.MarshalState |
Constructor and Description |
---|
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint,
boolean untrust)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
defaultVariablesUnmarshal(IRubyObject object) |
static RubyClass |
getClassFromPath(Ruby runtime,
java.lang.String path) |
org.jcodings.Encoding |
getEncodingFromUnmarshaled(IRubyObject key) |
static RubyModule |
getModuleFromPath(Ruby runtime,
java.lang.String path) |
Ruby |
getRuntime() |
int |
read() |
byte |
readSignedByte() |
int |
readUnsignedByte() |
void |
registerLinkTarget(IRubyObject newObject) |
int |
unmarshalInt() |
IRubyObject |
unmarshalObject() |
IRubyObject |
unmarshalObject(boolean callProc) |
ByteList |
unmarshalString() |
protected final Ruby runtime
public UnmarshalStream(Ruby runtime, java.io.InputStream in, IRubyObject proc, boolean taint) throws java.io.IOException
java.io.IOException
@Deprecated public UnmarshalStream(Ruby runtime, java.io.InputStream in, IRubyObject proc, boolean taint, boolean untrust) throws java.io.IOException
java.io.IOException
public IRubyObject unmarshalObject() throws java.io.IOException
java.io.IOException
public IRubyObject unmarshalObject(boolean callProc) throws java.io.IOException
java.io.IOException
public void registerLinkTarget(IRubyObject newObject)
public static RubyModule getModuleFromPath(Ruby runtime, java.lang.String path)
public Ruby getRuntime()
public int readUnsignedByte() throws java.io.IOException
java.io.IOException
public byte readSignedByte() throws java.io.IOException
java.io.IOException
public ByteList unmarshalString() throws java.io.IOException
java.io.IOException
public int unmarshalInt() throws java.io.IOException
java.io.IOException
public void defaultVariablesUnmarshal(IRubyObject object) throws java.io.IOException
java.io.IOException
public org.jcodings.Encoding getEncodingFromUnmarshaled(IRubyObject key) throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
Copyright © 2001-2018 JRuby. All Rights Reserved.