returns the file for you to read . concode_field_sep File mTemp concode_elem_sep boolean mWriting concode_elem_sep File mReal concode_field_sep void rollback concode_elem_sep File chooseForWrite concode_elem_sep void commit
File function ( ) { File loc0 ; if ( mReal . exists ( ) ) { loc0 = mReal ; if ( mTemp . exists ( ) ) { mTemp . delete ( ) ; } } else if ( mTemp . exists ( ) ) { loc0 = mTemp ; mTemp . renameTo ( mReal ) ; } else { return mReal ; } return loc0 ; }