public virtual void save(OutputStream outStream, Configuration config) { ArrayList arrayList = new ArrayList(); Iterator propertyKeys = config.findPropertyKeys(""); while (propertyKeys.hasNext()) { string str = (string) propertyKeys.next(); arrayList.add((object) str); } Collections.sort((List) arrayList); OutputStreamWriter outputStreamWriter = new OutputStreamWriter(outStream, "iso-8859-1"); for (int index = 0; index < arrayList.size(); ++index) { string str = (string) arrayList.get(index); string configProperty = config.getConfigProperty(str); string description = this.getDescription(str); if (description != null) this.writeDescription(description, (Writer) outputStreamWriter); this.saveConvert(str, 0, (Writer) outputStreamWriter); ((Writer) outputStreamWriter).write("="); this.saveConvert(configProperty, 1, (Writer) outputStreamWriter); ((Writer) outputStreamWriter).write(SortedConfigurationWriter.END_OF_LINE); } outputStreamWriter.flush(); }