void store ( OutputStream out ) throws IOException { BufferedWriter bw = new BufferedWriter ( new OutputStreamWriter ( out ) ) ; for ( Entry < String , Point2d [ ] > e : templateMap . entries ( ) ) { bw . write ( encodeEntry ( e ) ) ; bw . write ( ' ' ) ; } bw . close ( ) ; }
Store a template library to the provided output stream .