研发埠

标题: [Oracle interview]How can I customize the seralization process? [打印本页]

作者: 王浩    时间: 2013-8-16 15:43
标题: [Oracle interview]How can I customize the seralization process?
i.e. how can one have a control over the serialization process?
作者: 于郑生    时间: 2013-8-16 15:51
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.




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2