public static Properties loadProperties(String configurationPath) throws Exception {
  Properties props=new Properties();
  try (FileInputStream inputStream=new FileInputStream(configurationPath)){
    props.load(inputStream);
  }
   return props;
}

public static Properties loadProperties ( String configurationPath ) throws Exception { Properties props = new Properties ( ) ; try ( FileInputStream inputStream = new FileInputStream ( configurationPath ) ) { props . load ( inputStream ) ; } return props ; }
load the properties for the application .
