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.IOExceptionpublic IRubyObject unmarshalObject() throws java.io.IOException
java.io.IOExceptionpublic IRubyObject unmarshalObject(boolean callProc) throws java.io.IOException
java.io.IOExceptionpublic 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.IOExceptionpublic byte readSignedByte()
throws java.io.IOException
java.io.IOExceptionpublic ByteList unmarshalString() throws java.io.IOException
java.io.IOExceptionpublic int unmarshalInt()
throws java.io.IOException
java.io.IOExceptionpublic void defaultVariablesUnmarshal(IRubyObject object) throws java.io.IOException
java.io.IOExceptionpublic org.jcodings.Encoding getEncodingFromUnmarshaled(IRubyObject key) throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionCopyright © 2001-2020 JRuby. All Rights Reserved.