public long writeTo ( final File file ) throws IOException { FileOutputStream out = null ; try { out = new FileOutputStream ( file ) ; return writeTo ( out ) ; } finally { if ( out != null ) { out . close ( ) ; } } }
Writes the file s data to a file on disk .