|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.ObjectOutputStream.PutField
java.io.EmulatedFieldsForDumping
class 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
ObjectOutputStream.PutField,
EmulatedFieldsForLoading| Constructor Summary | |
|---|---|
EmulatedFieldsForDumping(ObjectStreamClass streamClass)
Constructs a new instance of EmulatedFieldsForDumping. |
|
| Method Summary | |
|---|---|
(package private) EmulatedFields |
emulatedFields()
Return the actual EmulatedFields instance used by the receiver. |
void |
put(String name,
boolean value)
Find and set the boolean value of a given field named name
in the receiver. |
void |
put(String name,
byte value)
Find and set the byte value of a given field named name in
the receiver. |
void |
put(String name,
char value)
Find and set the char value of a given field named name in
the receiver. |
void |
put(String name,
double value)
Find and set the double value of a given field named name
in the receiver. |
void |
put(String name,
float value)
Find and set the float value of a given field named name
in the receiver. |
void |
put(String name,
int value)
Find and set the int value of a given field named name in
the receiver. |
void |
put(String name,
long value)
Find and set the long value of a given field named name in
the receiver. |
void |
put(String name,
Object value)
Find and set the Object value of a given field named name
in the receiver. |
void |
put(String name,
short value)
Find and set the short value of a given field named name
in the receiver. |
void |
write(ObjectOutput output)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
EmulatedFieldsForDumping(ObjectStreamClass streamClass)
streamClass - a ObjectStreamClass, which describe the fields to be emulated
(names, types, etc).| Method Detail |
|---|
EmulatedFields emulatedFields()
public void put(String name,
byte value)
name in
the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
char value)
name in
the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
double value)
name
in the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
float value)
name
in the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
int value)
name in
the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
long value)
name in
the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
Object value)
name
in the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
short value)
name
in the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
public void put(String name,
boolean value)
name
in the receiver.
put in class ObjectOutputStream.PutFieldname - A String, the name of the field to setvalue - New value for the field.
@Deprecated
public void write(ObjectOutput output)
throws IOException
write in class ObjectOutputStream.PutFieldoutput - the ObjectOutput
IOException - If an IO exception happened when writing the field values.
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||