|
Marshalling API version 1.0.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Marshaller

An object marshaller for writing objects to byte streams.
| Method Summary | |
|---|---|
void |
clearClassCache()
Discard the class cache. |
void |
clearInstanceCache()
Discard the instance cache. |
void |
finish()
Finish marshalling to a stream. |
void |
start(ByteOutput newOutput)
Begin marshalling to a stream. |
void |
writeObjectUnshared(Object obj)
Write an object to the underlying storage or stream as a new instance. |
| Methods inherited from interface java.io.ObjectOutput |
|---|
close, flush, write, write, write, writeObject |
| Methods inherited from interface java.io.DataOutput |
|---|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Method Detail |
|---|
void writeObjectUnshared(Object obj)
throws IOException
obj - the object to be written
IOException - if an error occurs
void start(ByteOutput newOutput)
throws IOException
newOutput - the new stream
IOException - if an error occurs during setup, such as an error writing the header
void clearInstanceCache()
throws IOException
IOException - if an error occurs
void clearClassCache()
throws IOException
IOException - if an error occurs
void finish()
throws IOException
start(ByteOutput) method is again invoked.
IOException - if an error occurs
|
Marshalling API version 1.0.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||