void function ( String arg0 , String arg1 ) { try { if ( exists ( arg0 ) ) { delete ( arg1 ) ; File loc0 = new File ( arg0 ) ; loc0 . renameTo ( new File ( arg1 ) ) ; } } catch ( Throwable loc0 ) { throw toIOException ( loc0 ) ; } }
rename the file with oldname to newname . if a file with oldname does not exist , nothing occurs . if a file with newname already exists , it is deleted it before the renaming operation proceeds . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep IOException toIOException 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 void delete concode_elem_sep File canonicalFile concode_elem_sep File canonicalFile concode_elem_sep void deleteOnExit concode_elem_sep String canonicalOrAbsolutePath