|
jamod at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface defining a transportable class.
Method Summary | |
int |
getOutputLength()
Returns the number of bytes that will be written by writeTo(DataOutput) . |
void |
readFrom(java.io.DataInput din)
Reads this Transportable from the given DataInput. |
void |
writeTo(java.io.DataOutput dout)
Writes this Transportable to the given DataOutput. |
Method Detail |
public int getOutputLength()
writeTo(DataOutput)
.
public void writeTo(java.io.DataOutput dout) throws java.io.IOException
dout
- the DataOutput to write to.
java.io.IOException
- if an I/O error occurs.public void readFrom(java.io.DataInput din) throws java.io.IOException
din
- the DataInput to read from.
java.io.IOException
- if an I/O error occurs or the data
is invalid.
|
jamod at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |