public static File moveFileToDir ( final File srcFile , final File destDir ) throws IOException { checkExistsAndDirectory ( destDir ) ; return moveFile ( srcFile , file ( destDir , srcFile . getName ( ) ) ) ; }
Moves a file to a directory .