public static void save ( Pedigree pedigree , Path pedigreePath ) throws IOException { final OutputStream os = new FileOutputStream ( pedigreePath . toFile ( ) ) ; // Sanity check if ( pedigree != null ) { writeHeader ( pedigree , os ) ; write ( pedigree , os ) ; } // Close os . close ( ) ; }
Save a Pedigree object into a Pedigree format file .