| java.lang.Object java.io.OutputStream java.io.ObjectOutputStream java.io.EmulatedFieldsForDumping
Method Summary | |
EmulatedFields | emulatedFields() Return the actual EmulatedFields instance used by the receiver. | 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) Write the field values to the specified ObjectOutput. |
EmulatedFieldsForDumping | EmulatedFieldsForDumping(ObjectStreamClass streamClass)(Code) | | Constructs a new instance of EmulatedFieldsForDumping.
Parameters: streamClass - a ObjectStreamClass, which describe the fields to be emulated(names, types, etc). |
emulatedFields | EmulatedFields emulatedFields()(Code) | | 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.
array of ObjectSlot the receiver represents. |
put | public void put(String name, byte value)(Code) | | Find and set the byte value of a given field named name in
the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, char value)(Code) | | Find and set the char value of a given field named name in
the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, double value)(Code) | | Find and set the double value of a given field named name
in the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, float value)(Code) | | Find and set the float value of a given field named name
in the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, int value)(Code) | | Find and set the int value of a given field named name in
the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, long value)(Code) | | Find and set the long value of a given field named name in
the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, Object value)(Code) | | Find and set the Object value of a given field named name
in the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, short value)(Code) | | Find and set the short value of a given field named name
in the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
put | public void put(String name, boolean value)(Code) | | Find and set the boolean value of a given field named name
in the receiver.
Parameters: name - A String, the name of the field to set Parameters: value - New value for the field. |
write | public void write(ObjectOutput output) throws IOException(Code) | | Write the field values to the specified ObjectOutput.
Parameters: output - the ObjectOutput throws: IOException - If an IO exception happened when writing the field values. |
|
|