code: public void dump(OutputStream out) throws IOException {
  
          Properties props = new Properties();
          Iterator<String> iter = _map.keySet().iterator();
          while (iter.hasNext()) {
              String key = iter.next();
              props.setProperty(key, getValue(key));
          }
  
          props.store(out, "Install Options");
      }
docs: Dump all options (including any defaults that were applied) to the given
  stream, in java properties file format. The output stream remains open
  after this method returns.