public class Marshaller
extends java.lang.Object
Constructor | Description |
---|---|
Marshaller() |
Modifier and Type | Method | Description |
---|---|---|
static java.io.Externalizable |
read(java.io.ObjectInput in) |
reads the magic number, instantiates the class (from the
configurator) and invokes the readExternal method on the object.
|
static void |
write(java.io.Externalizable inst,
java.io.ObjectOutput out) |
Writes an object to the ObjectOutput stream.
|
public static java.io.Externalizable read(java.io.ObjectInput in) throws java.io.IOException
in
- an ObjectInput stream - the stream should be composed as follows:java.io.IOException
public static void write(java.io.Externalizable inst, java.io.ObjectOutput out) throws java.io.IOException
inst
- - an object instance to be serialized, can not be nullout
- - the ObjectOutput stream we will write the serialized data tojava.io.IOException
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.