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,
boolean freeze,
IRubyObject proc) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint)
Deprecated.
|
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint,
boolean untrust)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
defaultVariablesUnmarshal(UnmarshalStream.MarshalState state,
IRubyObject object)
Deprecated.
|
IRubyObject |
entry(IRubyObject value) |
static RubyClass |
getClassFromPath(Ruby runtime,
java.lang.String path) |
static RubyModule |
getModuleFromPath(Ruby runtime,
java.lang.String path) |
Ruby |
getRuntime() |
void |
ivar(UnmarshalStream.MarshalState state,
IRubyObject object,
boolean[] hasEncoding) |
void |
prohibitIVar(UnmarshalStream.MarshalState state,
java.lang.String label,
java.lang.String name) |
int |
read() |
byte |
readSignedByte() |
int |
readUnsignedByte() |
RubySymbol |
symbol() |
org.jcodings.Encoding |
symbolToEncoding(RubySymbol symbol,
IRubyObject value) |
RubySymbol |
unique() |
int |
unmarshalInt() |
IRubyObject |
unmarshalObject() |
IRubyObject |
unmarshalObject(boolean _callProc)
Deprecated.
|
ByteList |
unmarshalString() |
protected final Ruby runtime
public UnmarshalStream(Ruby runtime, java.io.InputStream in, IRubyObject proc) throws java.io.IOException
java.io.IOExceptionpublic UnmarshalStream(Ruby runtime, java.io.InputStream in, boolean freeze, IRubyObject proc) 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@Deprecated public UnmarshalStream(Ruby runtime, java.io.InputStream in, IRubyObject proc, boolean taint) throws java.io.IOException
java.io.IOExceptionpublic IRubyObject unmarshalObject() throws java.io.IOException
java.io.IOExceptionpublic static RubyModule getModuleFromPath(Ruby runtime, java.lang.String path)
public void ivar(UnmarshalStream.MarshalState state, IRubyObject object, boolean[] hasEncoding) throws java.io.IOException
java.io.IOExceptionpublic IRubyObject entry(IRubyObject value)
public void prohibitIVar(UnmarshalStream.MarshalState state, java.lang.String label, java.lang.String name)
public RubySymbol symbol() throws java.io.IOException
java.io.IOExceptionpublic RubySymbol unique() throws java.io.IOException
java.io.IOExceptionpublic 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 org.jcodings.Encoding symbolToEncoding(RubySymbol symbol, IRubyObject value)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException@Deprecated public void defaultVariablesUnmarshal(UnmarshalStream.MarshalState state, IRubyObject object) throws java.io.IOException
java.io.IOException@Deprecated public IRubyObject unmarshalObject(boolean _callProc) throws java.io.IOException
java.io.IOExceptionCopyright © 2001-2023 JRuby. All Rights Reserved.