| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JRubyObjectInputStream. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public IRubyObject | |
| public static RubyClass | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject |
| impl | back to summary |
|---|---|
| pack-priv JRubyObjectInputStream. | |
| JRubyObjectInputStream | back to summary |
|---|---|
| public JRubyObjectInputStream(Ruby runtime, RubyClass rubyClass) | |
| close | back to summary |
|---|---|
| public IRubyObject close()
Deprecated since 10.0.
| |
| close | back to summary |
|---|---|
public IRubyObject close(ThreadContext context)
| |
| createJRubyObjectInputStream | back to summary |
|---|---|
| public static RubyClass createJRubyObjectInputStream(ThreadContext context) | |
| initialize | back to summary |
|---|---|
| public IRubyObject initialize(IRubyObject wrappedStream)
Deprecated since 10.0.
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject wrappedStream)
| |
| newInstance | back to summary |
|---|---|
| public static IRubyObject newInstance(IRubyObject recv, IRubyObject[] args, Block block)
Deprecated since 10.0.
| |
| newInstance | back to summary |
|---|---|
public static IRubyObject newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| readObject | back to summary |
|---|---|
| public IRubyObject readObject()
Deprecated since 10.0.
| |
| readObject | back to summary |
|---|---|
public IRubyObject readObject(ThreadContext context)
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | resolveClass(ObjectStreamClass
an instance of class desc)ObjectStreamClassOverrides java. Load the local class equivalent of the specified stream class description. |
| runtime | back to summary |
|---|---|
| protected final Ruby runtime | |
| JRubyObjectInputStreamImpl | back to summary |
|---|---|
| public JRubyObjectInputStreamImpl(Ruby runtime, InputStream in) throws IOException | |
| resolveClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Load the local class equivalent of the specified stream class description. Subclasses may implement this method to allow classes to be fetched from an alternate source. The corresponding method in The default implementation of this method in
Class.forName(desc.getName(), false, loader) loader is the first class loader on the current
thread's stack (starting from the currently executing method) that is
neither the platform
class loader nor its ancestor; otherwise, loader is the
platform class loader. If this call results in a
ClassNotFoundException and the name of the passed
ObjectStreamClass instance is the Java language keyword
for a primitive type or void, then the Class object
representing that primitive type or void will be returned
(e.g., an ObjectStreamClass with the name
"int" will be resolved to Integer.TYPE).
Otherwise, the ClassNotFoundException will be thrown to
the caller of this method.
| |