点击这里成为作者 · 更新于 2017-08-19 06:00:06

如何控制 serialization 的过程?

Yes it is possible to have control over serialization process. The class should implement Externalizable interface. This interface contains two methods namely readExternal and writeExternal. You should implement these methods and write the logic for customizing the serialization process.