点击这里成为作者 · 更新于 2018-07-20 06:00:35

Externalizable 接口?

Externalizable is an interface which contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism. Thus if your class implements this interface, you can customize the serialization process by implementing these methods.