Package com.sun.corba.ee.impl.io
Class InputStreamHook.HookGetFields
java.lang.Object
java.io.ObjectInputStream.GetField
com.sun.corba.ee.impl.io.InputStreamHook.HookGetFields
- Enclosing class:
InputStreamHook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the named field is defaulted and has no value in this stream.boolean
Get the value of the named boolean field from the persistent field.byte
Get the value of the named byte field from the persistent fields.char
Get the value of the named char field from the persistent fields.double
Get the value of the named double field from the persistent field.float
Get the value of the named float field from the persistent fields.int
Get the value of the named int field from the persistent fields.long
Get the value of the named long field from the persistent fields.short
Get the value of the named short field from the persistent fields.Get the value of the named Object field from the persistent field.Get the ObjectStreamClass that describes the fields in the stream.toString()
-
Field Details
-
fields
-
-
Constructor Details
-
HookGetFields
-
-
Method Details
-
getObjectStreamClass
Get the ObjectStreamClass that describes the fields in the stream. REVISIT! This doesn't work since we have our own ObjectStreamClass.- Specified by:
getObjectStreamClass
in classObjectInputStream.GetField
-
defaulted
Return true if the named field is defaulted and has no value in this stream.- Specified by:
defaulted
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named boolean field from the persistent field.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named char field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named byte field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named short field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named int field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named long field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named float field from the persistent fields.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named double field from the persistent field.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
get
Get the value of the named Object field from the persistent field.- Specified by:
get
in classObjectInputStream.GetField
- Throws:
IOException
IllegalArgumentException
-
toString
-