How to create an .INI file to store some settings in Java?

后端 未结 6 1240
悲&欢浪女
悲&欢浪女 2020-12-08 01:09

I want to create an ini file to store some settings for my application. Is it a good idea to find where the jar file is located and create an ini file there? If yes, then ho

6条回答
  •  感动是毒
    2020-12-08 01:49

    If the settings are only written by your application (rather than edited manually), consider using the Preferences API.

提交回复
热议问题