public void writeToFile ( File f ) { try ( FileOutputStream fos = new FileOutputStream ( f ) ) { fos . write ( write ( ) ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Writes the BDS to the given file .