PreferencesFX
PreferencesFX copied to clipboard
Custom settings serialization
Hi guys,
I tried to create a custom editor with a custom list of objects but the saving is failed, because the max length of the serialized data is 8*1024. The StorageHandlerImpl did not serialize each item in the list separated, so it handles the whole list.
Any idea how can I handle this?
You can implement your own StorageHandler
, I believe you can even extend StorageHandlerImpl
. Then you could re-implement saveObject
.
To use this use PreferencesFx.of(new MyStorageHandler(), Category.of...
.