public PropertyFilePropertySource(final String fileName) { super(loadPropertiesFile(fileName)); }
/** * Constructs a PropertiesUtil for a given properties file name on the classpath. The properties specified in this * file are used by default. If a property is not defined in this file, then the equivalent system property is used. * * @param propertiesFileName the location of properties file to load */ public PropertiesUtil(final String propertiesFileName) { this.environment = new Environment(new PropertyFilePropertySource(propertiesFileName)); }