java - Best practices for saving settings? -


i working on project in many options should saved.

  • how options saved?
  • what best practices when saving/loading settings?

you can use preferences api if user specific configuration should stored , maintained.

applications require preference , configuration data adapt needs of different users , environments. java.util.prefs package provides way applications store , retrieve user , system preference , configuration data. data stored persistently in implementation-dependent backing store. there 2 separate trees of preference nodes, 1 user preferences , 1 system preferences.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -