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