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, skipprotected 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
IOExceptionpublic IRubyObject unmarshalObject() throws IOException
IOExceptionpublic IRubyObject unmarshalObject(boolean callProc) throws IOException
IOExceptionpublic IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state) throws IOException
IOExceptionpublic IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream.MarshalState state, boolean callProc) throws IOException
IOExceptionpublic void registerLinkTarget(IRubyObject newObject)
public static RubyModule getModuleFromPath(Ruby runtime, String path)
public Ruby getRuntime()
public int readUnsignedByte()
throws IOException
IOExceptionpublic byte readSignedByte()
throws IOException
IOExceptionpublic org.jruby.util.ByteList unmarshalString()
throws IOException
IOExceptionpublic int unmarshalInt()
throws IOException
IOExceptionpublic void defaultVariablesUnmarshal(IRubyObject object) throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2001-2015 JRuby. All Rights Reserved.