What is a good method of persisting application properties?

前端 未结 8 2024
不思量自难忘°
不思量自难忘° 2021-01-05 09:43

I have a series of application properties which all have different types.

The types could include, booleans, dates, timestamps, or strings.

I need to be abl

8条回答
  •  旧时难觅i
    2021-01-05 10:20

    Message from the future: the link is already dead.

    Java has a facility built specifically for this purpose - Properties. Here is very good article about it

    https://docs.oracle.com/javase/tutorial/essential/environment/properties.html

提交回复
热议问题