FileDocCategorySizeDatePackage
LegacyHookPutFields.javaAPI DocJava SE 5 API2424Fri Aug 26 14:54:28 BST 2005com.sun.corba.se.impl.orbutil

LegacyHookPutFields

public class LegacyHookPutFields extends ObjectOutputStream$PutField
Since ObjectOutputStream.PutField methods specify no exceptions, we are not checking for null parameters on put methods.

Fields Summary
private Hashtable
fields
Constructors Summary
Methods Summary
public voidput(java.lang.String name, boolean value)
Put the value of the named boolean field into the persistent field.


                     
         
        fields.put(name, new Boolean(value));
    
public voidput(java.lang.String name, char value)
Put the value of the named char field into the persistent fields.

        fields.put(name, new Character(value));
    
public voidput(java.lang.String name, byte value)
Put the value of the named byte field into the persistent fields.

        fields.put(name, new Byte(value));
    
public voidput(java.lang.String name, short value)
Put the value of the named short field into the persistent fields.

        fields.put(name, new Short(value));
    
public voidput(java.lang.String name, int value)
Put the value of the named int field into the persistent fields.

        fields.put(name, new Integer(value));
    
public voidput(java.lang.String name, long value)
Put the value of the named long field into the persistent fields.

        fields.put(name, new Long(value));
    
public voidput(java.lang.String name, float value)
Put the value of the named float field into the persistent fields.

        fields.put(name, new Float(value));
    
public voidput(java.lang.String name, double value)
Put the value of the named double field into the persistent field.

        fields.put(name, new Double(value));
    
public voidput(java.lang.String name, java.lang.Object value)
Put the value of the named Object field into the persistent field.

        fields.put(name, value);
    
public voidwrite(java.io.ObjectOutput out)
Write the data and fields to the specified ObjectOutput stream.

        out.writeObject(fields);