interface which makes customezation of serialization is Externalizable .
which contains two methodes , which we need to override in the class where we implement the Externalizable , namely
public void writeExternal(ObjectOutput);
public void readExternal(ObjectInput);
for writing and reading the each type of data we have methodes avliable in interfaces ObjectOutput and ObjectInput
for ObjectOutput, towrite
we have like readUTF(by which we can write the data), readLong
(if any examples required please write me @ yagnam.ramesh@gmail.com
)
which contains two methodes , which we need to override in the class where we implement the Externalizable , namely
public void writeExternal(ObjectOutput);
public void readExternal(ObjectInput);
for writing and reading the each type of data we have methodes avliable in interfaces ObjectOutput and ObjectInput
for ObjectOutput, towrite
we have like readUTF(by which we can write the data), readLong
(if any examples required please write me @ yagnam.ramesh@gmail.com
)
No comments:
Post a Comment