Table of Contents

Class ObjectInputStream

Namespace
Java.Io
Assembly
MASES.JNet.dll
public class ObjectInputStream : InputStream, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
ObjectInputStream
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ObjectInputStream()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ObjectInputStream()

ObjectInputStream(InputStream)

public ObjectInputStream(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Exceptions

IOException

ObjectInputStream(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ObjectInputStream(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

ObjectInputFilter

public ObjectInputFilter ObjectInputFilter { get; set; }

Property Value

ObjectInputFilter

Methods

DefaultReadObject()

public void DefaultReadObject()

Exceptions

IOException
ClassNotFoundException

ReadBoolean()

public bool ReadBoolean()

Returns

bool

bool

Exceptions

IOException

ReadByte()

public byte ReadByte()

Returns

byte

byte

Exceptions

IOException

ReadChar()

public char ReadChar()

Returns

char

char

Exceptions

IOException

ReadDouble()

public double ReadDouble()

Returns

double

double

Exceptions

IOException

ReadFields()

public ObjectInputStream.GetField ReadFields()

Returns

ObjectInputStream.GetField

ObjectInputStream.GetField

Exceptions

IOException
ClassNotFoundException

ReadFloat()

public float ReadFloat()

Returns

float

float

Exceptions

IOException

ReadFully(byte[])

public void ReadFully(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

ReadFully(byte[], int, int)

public void ReadFully(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Exceptions

IOException

ReadInt()

public int ReadInt()

Returns

int

int

Exceptions

IOException

ReadLong()

public long ReadLong()

Returns

long

long

Exceptions

IOException

ReadObject()

public object ReadObject()

Returns

object

object

Exceptions

IOException
ClassNotFoundException

ReadShort()

public short ReadShort()

Returns

short

short

Exceptions

IOException

ReadUTF()

public String ReadUTF()

Returns

String

String

Exceptions

IOException

ReadUnshared()

public object ReadUnshared()

Returns

object

object

Exceptions

IOException
ClassNotFoundException

ReadUnsignedByte()

public int ReadUnsignedByte()

Returns

int

int

Exceptions

IOException

ReadUnsignedShort()

public int ReadUnsignedShort()

Returns

int

int

Exceptions

IOException

RegisterValidation(ObjectInputValidation, int)

public void RegisterValidation(ObjectInputValidation arg0, int arg1)

Parameters

arg0 ObjectInputValidation

ObjectInputValidation

arg1 int

int

Exceptions

NotActiveException
InvalidObjectException

SkipBytes(int)

public int SkipBytes(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IOException

Operators

implicit operator ObjectInput(ObjectInputStream)

Converter from ObjectInputStream to ObjectInput

public static implicit operator ObjectInput(ObjectInputStream t)

Parameters

t ObjectInputStream

Returns

ObjectInput

implicit operator ObjectStreamConstants(ObjectInputStream)

public static implicit operator ObjectStreamConstants(ObjectInputStream t)

Parameters

t ObjectInputStream

Returns

ObjectStreamConstants