API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. ObjectOutputStream.PutField View Source
Author(s)
Since
1.2
Version
Serial
Hierarchy
 Object
      ObjectOutputStream.PutField
Implements
Subclasses
Description
publicabstractstatic abstract class ObjectOutputStream.PutField
  Provide programmatic access to the persistent fields to be written to ObjectOutput.
See also:   
Constructors
public ObjectOutputStream.PutField ()
Methods
Hide/Show inherited methods
publicabstract void put (String name, boolean val)
  Put the value of the named boolean field into the persistent field.
publicabstract void put (String name, byte val)
  Put the value of the named byte field into the persistent field.
publicabstract void put (String name, char val)
  Put the value of the named char field into the persistent field.
publicabstract void put (String name, double val)
  Put the value of the named double field into the persistent field.
publicabstract void put (String name, float val)
  Put the value of the named float field into the persistent field.
publicabstract void put (String name, int val)
  Put the value of the named int field into the persistent field.
publicabstract void put (String name, long val)
  Put the value of the named long field into the persistent field.
publicabstract void put (String name, Object val)
  Put the value of the named Object field into the persistent field.
publicabstract void put (String name, short val)
  Put the value of the named short field into the persistent field.
@Deprecated
publicabstract void write (ObjectOutput out) throws IOException
  Write the data and fields to the specified ObjectOutput stream, which must be the same stream that produced this PutField object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar