Home » openjdk-7 » java » io » [javadoc | source]
java.io
class: EmulatedFieldsForDumping [javadoc | source]
java.lang.Object
   java.io.ObjectOutputStream.PutField
      java.io.EmulatedFieldsForDumping
An EmulatedFieldsForDumping is an object that represents a set of emulated fields for an object being dumped. It is a concrete implementation for ObjectOutputStream.PutField
Constructor:
 EmulatedFieldsForDumping(ObjectStreamClass streamClass) 
    Constructs a new instance of EmulatedFieldsForDumping.
    Parameters:
    streamClass - a ObjectStreamClass, which describe the fields to be emulated (names, types, etc).
Method from java.io.EmulatedFieldsForDumping Summary:
emulatedFields,   put,   put,   put,   put,   put,   put,   put,   put,   put,   write
Methods from java.io.ObjectOutputStream$PutField:
put,   put,   put,   put,   put,   put,   put,   put,   put,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.EmulatedFieldsForDumping Detail:
 EmulatedFields emulatedFields() 
    Return the actual EmulatedFields instance used by the receiver. We have the actual work in a separate class so that the code can be shared. The receiver has to be of a subclass of PutField.
 public  void put(String name,
    byte value) 
    Find and set the byte value of a given field named name in the receiver.
 public  void put(String name,
    char value) 
    Find and set the char value of a given field named name in the receiver.
 public  void put(String name,
    double value) 
    Find and set the double value of a given field named name in the receiver.
 public  void put(String name,
    float value) 
    Find and set the float value of a given field named name in the receiver.
 public  void put(String name,
    int value) 
    Find and set the int value of a given field named name in the receiver.
 public  void put(String name,
    long value) 
    Find and set the long value of a given field named name in the receiver.
 public  void put(String name,
    Object value) 
    Find and set the Object value of a given field named name in the receiver.
 public  void put(String name,
    short value) 
    Find and set the short value of a given field named name in the receiver.
 public  void put(String name,
    boolean value) 
    Find and set the boolean value of a given field named name in the receiver.
 public  void write(ObjectOutput output) throws IOException 
    Write the field values to the specified ObjectOutput.