com.sun.squawk
Class ObjectMemorySerializer
java.lang.Object
com.sun.squawk.ObjectMemorySerializer
public class ObjectMemorySerializer
- extends Object
This class facilitates saving a serialized object graph to a URL.
The format of the output is described by ObjectMemoryFile.
- Author:
- Doug Simon
|
Nested Class Summary |
static class |
ObjectMemorySerializer.ControlBlock
A ControlBlock instance is used to pass parameters in both directions when
calling the copyObjectGraph low level routine
that serializes an object graph. |
ObjectMemorySerializer
public ObjectMemorySerializer()
save
public static void save(DataOutputStream dos,
String uri,
ObjectMemorySerializer.ControlBlock cb,
ObjectMemory parent,
boolean bigEndian)
throws IOException
- Writes a serialized object memory to a given output stream.
- Parameters:
dos - where the object memory should be writtenuri - a URI identifying the object memory being savedcb - the control block describing the serialized object graphparent - the object memory to which the serialized object memory is boundbigEndian - the endianess to be used when serializing the object memory
- Throws:
IOException - if there is an IO error
Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.