boolean function ( String arg0 , String arg1 ) { boolean loc0 = delete ( arg1 ) ; if ( exists ( arg0 ) ) { File loc1 = new File ( arg0 ) ; return loc1 . renameTo ( new File ( arg1 ) ) ; } return loc0 ; }
rename the file with oldname to newname . if a file with newname already exists , it is deleted before the renaming operation proceeds . if a file with oldname does not exist , no file will exist after the operation . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep void renameElement concode_elem_sep java.io.InputStream openInputStreamElement concode_elem_sep IOException toIOException concode_elem_sep boolean isStreamElement concode_elem_sep boolean delete concode_elem_sep File canonicalFile concode_elem_sep File canonicalFile concode_elem_sep void sync concode_elem_sep FileAccess.FileSync getFileSync concode_elem_sep FileUtil getDefaultInstance concode_elem_sep String makeDirectories concode_elem_sep String canonicalPath concode_elem_sep String canonicalPath concode_elem_sep boolean exists concode_elem_sep boolean exists concode_elem_sep String absolutePath concode_elem_sep String getParentDirectory concode_elem_sep void removeElement concode_elem_sep void makeParentDirectories concode_elem_sep java.io.OutputStream openOutputStreamElement concode_elem_sep void createParentDirs concode_elem_sep void deleteOnExit concode_elem_sep String canonicalOrAbsolutePath