Package com.sun.corba.ee.impl.io
Class OutputStreamHook.HookPutFields
- java.lang.Object
-
- java.io.ObjectOutputStream.PutField
-
- com.sun.corba.ee.impl.io.OutputStreamHook.HookPutFields
-
- Enclosing class:
- OutputStreamHook
private class OutputStreamHook.HookPutFields extends java.io.ObjectOutputStream.PutFieldSince ObjectOutputStream.PutField methods specify no exceptions, we are not checking for null parameters on put methods.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>fields
-
Constructor Summary
Constructors Modifier Constructor Description privateHookPutFields()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidput(java.lang.String name, boolean value)Put the value of the named boolean field into the persistent field.voidput(java.lang.String name, byte value)Put the value of the named byte field into the persistent fields.voidput(java.lang.String name, char value)Put the value of the named char field into the persistent fields.voidput(java.lang.String name, double value)Put the value of the named double field into the persistent field.voidput(java.lang.String name, float value)Put the value of the named float field into the persistent fields.voidput(java.lang.String name, int value)Put the value of the named int field into the persistent fields.voidput(java.lang.String name, long value)Put the value of the named long field into the persistent fields.voidput(java.lang.String name, short value)Put the value of the named short field into the persistent fields.voidput(java.lang.String name, java.lang.Object value)Put the value of the named Object field into the persistent field.voidwrite(java.io.ObjectOutput out)Write the data and fields to the specified ObjectOutput stream.
-
-
-
Method Detail
-
put
public void put(java.lang.String name, boolean value)Put the value of the named boolean field into the persistent field.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, char value)Put the value of the named char field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, byte value)Put the value of the named byte field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, short value)Put the value of the named short field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, int value)Put the value of the named int field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, long value)Put the value of the named long field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, float value)Put the value of the named float field into the persistent fields.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, double value)Put the value of the named double field into the persistent field.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
put
public void put(java.lang.String name, java.lang.Object value)Put the value of the named Object field into the persistent field.- Specified by:
putin classjava.io.ObjectOutputStream.PutField
-
write
public void write(java.io.ObjectOutput out) throws java.io.IOExceptionWrite the data and fields to the specified ObjectOutput stream.- Specified by:
writein classjava.io.ObjectOutputStream.PutField- Throws:
java.io.IOException
-
-