call when you have successfully finished writing to the stream returned by #startwrite . this will close , sync , and commit the new data . the next attempt to read the atomic file will return the new file stream . concode_field_sep File mBaseName concode_elem_sep File mBackupName concode_field_sep FileOutputStream openAppend concode_elem_sep File getBaseFile concode_elem_sep void truncate concode_elem_sep byte[] readFully concode_elem_sep FileOutputStream startWrite concode_elem_sep FileInputStream openRead concode_elem_sep long getLastModifiedTime concode_elem_sep void delete concode_elem_sep void failWrite
void function ( FileOutputStream arg0 ) { if ( arg0 != null ) { FileUtils . sync ( arg0 ) ; try { arg0 . close ( ) ; mBackupName . delete ( ) ; } catch ( IOException loc0 ) { Log . w ( "srini_string" , "srini_string" , loc0 ) ; } } }