1

I have Collection with objects which I want to persist to the file:

private List< TestPart > testParts;

Class TestPart is extending Abstract class and two interfaces. Is it possible to write that kind of collection to the file? I tried to use jaxb/kryo - without effect.

Class TestPart is not implementing Serializable interface and I can't change it.

I should also mention that class TestPart has a references to the other not serializable classes.

Any ideas how to save data like this?

Thanks in advance.

Jan Kusy
  • 29
  • 2
  • 5

0 Answers0