Java how to persist a value abstractly? -


i'm trying figure out best way persist value in java, i'm new using.

i'm used in cocoa using nsuserdefaults persist small amounts of data ints or strings. benefit of no matter app launched or nsuserdefaults writes data, know i'll able retrieve same data.

is there way in java?

use java preferences api: https://docs.oracle.com/javase/8/docs/technotes/guides/preferences/index.html


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -