CONTENTS | PREV | NEXT | Java Object Serialization Specification |
ClassPutField
provides the API for setting values of the serializable fields for a class when the class does not use default serialization. Each method puts the specified named value into the stream. I/O exceptions will be thrown if the underlying stream throws an exception. An IllegalArgumentException is thrown if the name does not match the name of a field declared for this object'sObjectStreamClass
or if the type of the value does not match the declared type of the serializable field.