|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Externalizable
Controls the serialization and deserialization of the object implementing this interface
to/from AMF3 binary data. This interface differs from the java.io.Externalizable
interface since it corresponds directly to the flash.utils.IExternalizable interface
in the core Flash Player API.
If you want to implement this interface for a mapped Java class, make sure you follow these steps:
flash.utils.IExternalizableIn some cases where the mapped Java class cannot implement this interface, you can use
the org.spicefactory.cinnamon.io.Externalizer interface instead. This might happen
if you must work with existing classes that you cannot modify or if the mapped Java class does
not have a default no-args constructor.
| Method Summary | |
|---|---|
void |
readExternal(DataInput in)
Restores the content of this object from the DataInput instance. |
void |
writeExternal(DataOutput out)
Saves the content of this object to the DataOutput instance. |
| Method Detail |
|---|
void readExternal(DataInput in)
in - the AMF3 data to read fromvoid writeExternal(DataOutput out)
out - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||