code: public static Map<String, String> loadProperties(InputStream source, Encoding encoding, String newline)
  			throws IOException, SyntaxErrorException
  	{
  		final Map<String, String> _result = new HashMap<String, String>();
  		PropertiesParsingListener _listener = new PropertiesParsingListener()
  		{
  			@Override
  			public void onMultipleLinePropertyParsed(MultipleLinePropertyParsedEvent event)
  			{
  				_result.put(event.getName(), String.join(newline, event.getValue()));
  			}
  
  			@Override
  			public void onSingleLinePropertyParsed(SingleLinePropertyParsedEvent event)
  			{
  				_result.put(event.getName(), event.getValue());
  			}
  		};
  
  		readPropertiesToListeners(source, encoding, _listener);
  
  		return _result;
  	}
docs: Load a properties file from the specified source supporting multiple line values, as specified by
  {@link LineByLinePropertyParser}.
  
  @param source
  the source input stream.
  @param encoding
  the encoding of the file.
  @param newline
  the sequence to use as a line separator for multiple line values.
  @return the properties.
  @throws IOException
  if there is a problem to deal with.
  @throws SyntaxErrorException
  if there is a problem to deal with.
  @see LineByLinePropertyParser
  @since 16.08.01