/** * get defaults properties from file * @return Properties default properties */ private static Properties getDefaultsProperties() throws Exception { return loadPropertiesFile("carol-defaults", Thread.currentThread().getContextClassLoader()); }
/** * get carol properties from file * @return Properties carol properties */ private static Properties getCarolProperties() throws Exception { Properties props = null; try { props = loadPropertiesFile("carol", Thread.currentThread().getContextClassLoader()); } catch (Exception e) { TraceCarol.debugCarol("carol.properties file not found: " + e); } return props; }