code: public static ExampleProperties loadProperties() throws IOException {
      String propsName = "Example.properties";
  
      try ( InputStream propsStream = openStream(propsName) ) {
        if (propsStream == null)
          throw new IOException("Could not read properties "+propsName);
  
        Properties props = new Properties();
        props.load(propsStream);
  
        return new ExampleProperties(props);
      }
    }
docs: Read the configuration properties for the example from the file
  Example.properties.
  @return	the configuration object
  @throws IOException if one occurs while loading the properties