G-EE Wiki
Libraries developed to build an Enterprise Application
Status: Beta
Brought to you by:
kallsu
G-properties is the library to manage the loading / refresh and parsing of all properties files inside application.
Usage
Put inside classpath a text file named g-properties.conf
, like that:
classpath.property.files = file1, file2, file3 ( comma separated ) external.property.files = URI of file1, URI of file2 ( comma separated )
The singleton object to build is implemented by net.sf.gee.properties.PropertiesService
, it will load before the configuration, after the properties files inside classpath and as last the external properties files.