void save(final OutputStream out) throws IOException {
  final Encoder codec=new Encoder();
  final Writer writer=new OutputStreamWriter(out,"UTF-8");
  try {
    for (    Profile p : this) {
      writer.write(codec.encode(p.encode()));
      writer.write(System.getProperty("line.separator"));
    }
  }
  finally {
    writer.flush();
  }
}

void save ( final OutputStream out ) throws IOException { final Encoder codec = new Encoder ( ) ; final Writer writer = new OutputStreamWriter ( out , "UTF-8" ) ; try { for ( Profile p : this ) { writer . write ( codec . encode ( p . encode ( ) ) ) ; writer . write ( System . getProperty ( "line.separator" ) ) ; } } finally { writer . flush ( ) ; } }
save a list of profiles to an output stream .
