Build 1.0_r1(from source)

java.io
Class ObjectOutputStream.PutField

java.lang.Object
  extended by java.io.ObjectOutputStream.PutField
Direct Known Subclasses:
EmulatedFieldsForDumping
Enclosing class:
ObjectOutputStream

public abstract static class ObjectOutputStream.PutField
extends Object

Inner class to provide access to serializable fields


Constructor Summary
ObjectOutputStream.PutField()
           
 
Method Summary
abstract  void put(String name, boolean value)
           
abstract  void put(String name, byte value)
           
abstract  void put(String name, char value)
           
abstract  void put(String name, double value)
           
abstract  void put(String name, float value)
           
abstract  void put(String name, int value)
           
abstract  void put(String name, long value)
           
abstract  void put(String name, Object value)
           
abstract  void put(String name, short value)
           
abstract  void write(ObjectOutput out)
          Deprecated. This method is unsafe and may corrupt the output stream. Use ObjectOutputStream#writeFields() instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectOutputStream.PutField

public ObjectOutputStream.PutField()
Method Detail

put

public abstract void put(String name,
                         boolean value)

put

public abstract void put(String name,
                         char value)

put

public abstract void put(String name,
                         byte value)

put

public abstract void put(String name,
                         short value)

put

public abstract void put(String name,
                         int value)

put

public abstract void put(String name,
                         long value)

put

public abstract void put(String name,
                         float value)

put

public abstract void put(String name,
                         double value)

put

public abstract void put(String name,
                         Object value)

write

@Deprecated
public abstract void write(ObjectOutput out)
                    throws IOException
Deprecated. This method is unsafe and may corrupt the output stream. Use ObjectOutputStream#writeFields() instead.

Throws:
IOException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature