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
-
BOOLEAN
-
-
BYTEARRAY
-
-
COLOR
-
-
DIMENSION
-
-
FONT
-
-
HASHTABLE
-
-
INTARRAY
-
-
INTEGER
-
-
POINT
-
-
SAVEABLE
-
-
STRING
-
-
ObjectOutputStream(OutputStream)
-
-
writeObject(Object)
- writes a Object to the stream.
-
writeString(String)
- writes a String to the stream.
SAVEABLE
public static byte SAVEABLE
INTEGER
public static byte INTEGER
STRING
public static byte STRING
COLOR
public static byte COLOR
HASHTABLE
public static byte HASHTABLE
BOOLEAN
public static byte BOOLEAN
FONT
public static byte FONT
DIMENSION
public static byte DIMENSION
POINT
public static byte POINT
INTARRAY
public static byte INTARRAY
BYTEARRAY
public static byte BYTEARRAY
ObjectOutputStream
public ObjectOutputStream(OutputStream out)
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.
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