Skip to content

ph settings

Philip Helger edited this page Apr 8, 2026 · 3 revisions

Simple library for handling configuration files and settings with support for XML, JSON and properties persistence. Consider using ph-config instead for new projects.

Highlights:

  • Settings / ISettings - mutable settings storage
  • SettingsWithDefault - settings with default value fallback
  • ConfigFile / ConfigFileBuilder - configuration file loading with fluent builder
  • SettingsPersistenceXML / SettingsPersistenceJson / SettingsPersistenceProperties - persistence strategies

Maven usage

Add the following to your pom.xml to use this artifact:

<dependency>
  <groupId>com.helger.commons</groupId>
  <artifactId>ph-settings</artifactId>
  <version>x.y.z</version>
</dependency>

Note: the Maven groupId changed in v10 from com.helger to com.helger.commons

Clone this wiki locally