Package org.jruby.runtime.marshal
Class UnmarshalStream
java.lang.Object
java.io.InputStream
org.jruby.runtime.marshal.UnmarshalStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Unmarshals objects from strings or streams in Ruby's marshal format.
- Author:
- Anders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnmarshalStream
(Ruby runtime, InputStream in, boolean freeze, IRubyObject proc) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalStream
(Ruby runtime, InputStream in, IRubyObject proc) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalStream
(Ruby runtime, InputStream in, IRubyObject proc, boolean taint) Deprecated.UnmarshalStream
(Ruby runtime, InputStream in, IRubyObject proc, boolean taint, boolean untrust) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
defaultVariablesUnmarshal
(UnmarshalStream.MarshalState state, IRubyObject object) Deprecated.entry
(IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.static RubyClass
getClassFromPath
(Ruby runtime, String path) Deprecated, for removal: This API element is subject to removal in a future version.static RubyModule
getModuleFromPath
(Ruby runtime, String path) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
ivar
(UnmarshalStream.MarshalState state, IRubyObject object, boolean[] hasEncoding) Deprecated, for removal: This API element is subject to removal in a future version.void
prohibitIVar
(UnmarshalStream.MarshalState state, String label, String name) Deprecated, for removal: This API element is subject to removal in a future version.int
read()
Deprecated, for removal: This API element is subject to removal in a future version.byte
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.symbol()
Deprecated, for removal: This API element is subject to removal in a future version.org.jcodings.Encoding
symbolToEncoding
(RubySymbol symbol, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.unique()
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.unmarshalObject
(boolean _callProc) Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
runtime
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
UnmarshalStream
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
UnmarshalStream
public UnmarshalStream(Ruby runtime, InputStream in, boolean freeze, IRubyObject proc) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
UnmarshalStream
@Deprecated public UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint, boolean untrust) throws IOException Deprecated.- Throws:
IOException
-
UnmarshalStream
@Deprecated public UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint) throws IOException Deprecated.- Throws:
IOException
-
-
Method Details
-
unmarshalObject
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
getModuleFromPath
Deprecated, for removal: This API element is subject to removal in a future version. -
getClassFromPath
Deprecated, for removal: This API element is subject to removal in a future version. -
ivar
public void ivar(UnmarshalStream.MarshalState state, IRubyObject object, boolean[] hasEncoding) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
entry
Deprecated, for removal: This API element is subject to removal in a future version. -
prohibitIVar
Deprecated, for removal: This API element is subject to removal in a future version. -
symbol
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
unique
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
getRuntime
Deprecated, for removal: This API element is subject to removal in a future version. -
readUnsignedByte
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
readSignedByte
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
unmarshalString
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
unmarshalInt
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
symbolToEncoding
Deprecated, for removal: This API element is subject to removal in a future version. -
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
read
in classInputStream
- Throws:
IOException
-
defaultVariablesUnmarshal
@Deprecated public void defaultVariablesUnmarshal(UnmarshalStream.MarshalState state, IRubyObject object) throws IOException Deprecated.- Throws:
IOException
-
unmarshalObject
Deprecated.- Throws:
IOException
-