PropertyBag - For all your data

Last time we spoke about a PropertyBag class, it is now available on Git at The way it works is that you can add any number of required keys into the PropertyBag and retrieve it using the same key, if you want it to persist, then you can save it to the file and also get from file to load the persisted properties.

The getProperty has a default value so if you request a property that does not exist or not initialised, the default value is assigned to the property.

The rest is simple, it is not a very complicated library, but will definitely save several hours of toiling over trying to achieve something similar.



Popular Posts