code: private static void loadProperties(Properties properties,InputStream inputStream,boolean internal)
      {
          try
          {
              properties.load(inputStream);
              LibraryConfigurationLoader.closeResource(inputStream);
          }
          catch(Exception exception)
          {
              LibraryConfigurationLoader.closeResource(inputStream);
              String prefix="External";
              if(internal)
              {
                  prefix="Internal";
              }
              throw new FaxException(prefix+" "+LibraryConfigurationLoader.CONFIGURATION_FILE_NAME+" not found.",exception);
          }
      }
docs: This function loads the properties from the input stream
  to the provided properties object.
  
  @param   properties
  The target properties object
  @param   inputStream
  The input stream to the configuration file
  @param   internal
  True internal, else external