code: public void load(InputStream input) throws IOException {
  
          ParameterReader reader = null;
  
          try {
              reader = new ParameterReader(new InputStreamReader(input, CmsEncoder.ENCODING_ISO_8859_1));
  
          } catch (UnsupportedEncodingException ex) {
  
              reader = new ParameterReader(new InputStreamReader(input));
          }
  
          while (true) {
              String line = reader.readParameter();
              if (line == null) {
                  return; // EOF
              }
              int equalSign = line.indexOf('=');
  
              if (equalSign > 0) {
                  String key = line.substring(0, equalSign).trim();
                  String value = line.substring(equalSign + 1).trim();
  
                  if (CmsStringUtil.isEmptyOrWhitespaceOnly(value)) {
                      continue;
                  }
  
                  add(key, value, true);
              }
          }
      }
docs: Load the parameters from the given input stream, which must be in property file format.<p>
  
  @param input the stream to load the input from
  
  @throws IOException in case of IO errors reading from the stream