How to use Java property files?

后端 未结 17 1180
时光取名叫无心
时光取名叫无心 2020-11-22 11:13

I have a list of key/value pairs of configuration values I want to store as Java property files, and later load and iterate through.

Questions:

  • Do I ne
17条回答
  •  遇见更好的自我
    2020-11-22 11:49

    I have written on this property framework for the last year. It will provide of multiple ways to load properties, and have them strongly typed as well.

    Have a look at http://sourceforge.net/projects/jhpropertiestyp/

    JHPropertiesTyped will give the developer strongly typed properties. Easy to integrate in existing projects. Handled by a large series for property types. Gives the ability to one-line initialize properties via property IO implementations. Gives the developer the ability to create own property types and property io's. Web demo is also available, screenshots shown above. Also have a standard implementation for a web front end to manage properties, if you choose to use it.

    Complete documentation, tutorial, javadoc, faq etc is a available on the project webpage.

提交回复
热议问题