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
Post a Comment