question: 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 ( ) ; } }
target:  Save a list of profiles to an output stream.