serialization - Java: Passing arguments at readObject/writeObject methods -


i override methods readobject/writeobject in order customize serialization of objects. problem these methods take no arguments. there anyway pass parameters in these methods can use them in serialization process?

thank in advance

no there no option pass parameters, why need that.

serialization, de serialization process of writing , reading object state, class should have properties within before being serialized or deserialized.

there shouldn't reason pass parameters these 2 methods.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -