|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NWritable
A simple, efficient, serialization protocol, based on DataInput and
DataOutput.
Implementations typically implement a static read(DataInput)
method which constructs a new instance, calls readFields(DataInput), and returns the instance.
| Method Summary | |
|---|---|
void |
readFields(java.io.DataInput in)
Reads the fields of this object from in. |
void |
write(java.io.DataOutput out)
Writes the fields of this object to out. |
| Method Detail |
|---|
void write(java.io.DataOutput out)
throws java.io.IOException
out.
java.io.IOException
void readFields(java.io.DataInput in)
throws java.io.IOException
in. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||