阅读(198) (2)

Externalizable 接口?

2017-07-03 15:48:15 更新

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.