Class como.io.ObjectOutputStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class como.io.ObjectOutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.FilterOutputStream
                   |
                   +----java.io.DataOutputStream
                           |
                           +----como.io.ObjectOutputStream

public class ObjectOutputStream
extends DataOutputStream

Variable Index

 o BOOLEAN
 o BYTEARRAY
 o COLOR
 o DIMENSION
 o FONT
 o HASHTABLE
 o INTARRAY
 o INTEGER
 o POINT
 o SAVEABLE
 o STRING

Constructor Index

 o ObjectOutputStream(OutputStream)

Method Index

 o writeObject(Object)
writes a Object to the stream.
 o writeString(String)
writes a String to the stream.

Variables

 o SAVEABLE
  public static byte SAVEABLE
 o INTEGER
  public static byte INTEGER
 o STRING
  public static byte STRING
 o COLOR
  public static byte COLOR
 o HASHTABLE
  public static byte HASHTABLE
 o BOOLEAN
  public static byte BOOLEAN
 o FONT
  public static byte FONT
 o DIMENSION
  public static byte DIMENSION
 o POINT
  public static byte POINT
 o INTARRAY
  public static byte INTARRAY
 o BYTEARRAY
  public static byte BYTEARRAY

Constructors

 o ObjectOutputStream
  public ObjectOutputStream(OutputStream out)

Methods

 o writeString
  public void writeString(String s) throws IOException
writes a String to the stream. You don't have to care about the length!
Parameters:
s - the String you want to save.
 o writeObject
  public void writeObject(Object o) throws IOException
writes a Object to the stream. This Object must implement Saveable, or it must be one of the supported classes (see ObjectInputStream)
Parameters:
o - the Object you want to save.

All Packages  Class Hierarchy  This Package  Previous  Next  Index