Package org.jruby.runtime.marshal
Class MarshalStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.jruby.runtime.marshal.MarshalStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Marshals objects into Ruby's binary marshal format.
- Author:
- Anders
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
ConstructorsConstructorDescriptionMarshalStream
(Ruby runtime, OutputStream out, int depthLimit) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpDefaultObjectHeader
(char tp, RubyClass type) Deprecated.void
Deprecated.void
dumpDefaultObjectHeader
(ThreadContext context, char tp, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.void
dumpDefaultObjectHeader
(ThreadContext context, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.void
dumpObject
(IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.void
dumpSymbol
(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.void
dumpVariables
(List<Variable<Object>> vars) Deprecated, for removal: This API element is subject to removal in a future version.void
dumpVariablesWithEncoding
(List<Variable<Object>> vars, IRubyObject obj) Deprecated, for removal: This API element is subject to removal in a future version.static String
getPathFromClass
(RubyModule clazz) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated.boolean
Deprecated.void
registerLinkTarget
(IRubyObject newObject) Deprecated.void
registerLinkTarget
(ThreadContext context, IRubyObject newObject) Deprecated, for removal: This API element is subject to removal in a future version.void
registerSymbol
(ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version.void
userMarshal
(IRubyObject value) Deprecated.void
userMarshal
(IRubyObject value, CacheEntry entry) Deprecated.void
userMarshal
(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.void
userMarshal
(ThreadContext context, IRubyObject value, CacheEntry entry) Deprecated, for removal: This API element is subject to removal in a future version.void
userNewMarshal
(IRubyObject value) Deprecated.void
userNewMarshal
(IRubyObject value, CacheEntry entry) Deprecated.void
userNewMarshal
(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.void
userNewMarshal
(ThreadContext context, IRubyObject value, CacheEntry entry) Deprecated, for removal: This API element is subject to removal in a future version.void
writeByte
(int value) Deprecated, for removal: This API element is subject to removal in a future version.void
writeDirectly
(IRubyObject value) Deprecated.void
writeDirectly
(ThreadContext context, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version.void
writeEncoding
(org.jcodings.Encoding encoding) Deprecated, for removal: This API element is subject to removal in a future version.void
writeEncoding
(ThreadContext context, org.jcodings.Encoding encoding) Deprecated, for removal: This API element is subject to removal in a future version.void
writeInt
(int value) Deprecated, for removal: This API element is subject to removal in a future version.void
writeString
(String value) Deprecated, for removal: This API element is subject to removal in a future version.void
writeString
(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.void
writeUserClass
(IRubyObject obj, RubyClass type) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
MarshalStream
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-
Method Details
-
dumpObject
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
registerLinkTarget
Deprecated. -
registerLinkTarget
Deprecated, for removal: This API element is subject to removal in a future version. -
registerSymbol
Deprecated, for removal: This API element is subject to removal in a future version. -
writeDirectly
Deprecated.- Throws:
IOException
-
writeDirectly
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
getPathFromClass
Deprecated, for removal: This API element is subject to removal in a future version. -
userNewMarshal
@Deprecated(since="10.0") public void userNewMarshal(IRubyObject value, CacheEntry entry) throws IOException Deprecated.- Throws:
IOException
-
userNewMarshal
public void userNewMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userNewMarshal
Deprecated.- Throws:
IOException
-
userNewMarshal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userMarshal
@Deprecated(since="10.0") public void userMarshal(IRubyObject value, CacheEntry entry) throws IOException Deprecated.- Throws:
IOException
-
userMarshal
public void userMarshal(ThreadContext context, IRubyObject value, CacheEntry entry) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
userMarshal
Deprecated.- Throws:
IOException
-
userMarshal
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeUserClass
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpVariablesWithEncoding
public void dumpVariablesWithEncoding(List<Variable<Object>> vars, IRubyObject obj) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpVariables
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeEncoding
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeEncoding
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpDefaultObjectHeader
Deprecated.- Throws:
IOException
-
dumpDefaultObjectHeader
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpDefaultObjectHeader
@Deprecated(since="10.0") public void dumpDefaultObjectHeader(char tp, RubyClass type) throws IOException Deprecated.- Throws:
IOException
-
dumpDefaultObjectHeader
public void dumpDefaultObjectHeader(ThreadContext context, char tp, RubyClass type) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeString
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeString
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
dumpSymbol
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeInt
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
writeByte
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
isTainted
Deprecated. -
isUntrusted
Deprecated.
-