public static Properties loadReportConfig(){
  final Properties reportProps=new Properties();
  try {
    reportProps.load(getFileAsStream(ReportConstants.REPORT_CONFIG_FILE));
    return reportProps;
  }
 catch (  final IOException e) {
    LOGGER.warn("Exception while loading report configuration file [" + ReportConstants.REPORT_CONFIG_FILE + "]",e);
    return null;
  }
catch (  final ApplicationRuntimeException e) {
    LOGGER.warn("Exception while loading report configuration file [" + ReportConstants.REPORT_CONFIG_FILE + "]",e);
    return null;
  }
}

public static Properties loadReportConfig ( ) { final Properties reportProps = new Properties ( ) ; try { reportProps . load ( getFileAsStream ( ReportConstants . REPORT_CONFIG_FILE ) ) ; return reportProps ; } catch ( final IOException e ) { LOGGER . warn ( "Exception while loading report configuration file [" + ReportConstants . REPORT_CONFIG_FILE + "]" , e ) ; return null ; } catch ( final ApplicationRuntimeException e ) { LOGGER . warn ( "Exception while loading report configuration file [" + ReportConstants . REPORT_CONFIG_FILE + "]" , e ) ; return null ; } }
loads the report configuration file from classpath ( / config / reports . properties )
