public static void move(final File src, final File dest) throws IOException {
		if (src.isDirectory()) {
			moveDir(src, dest);
			return;
		}
		if (dest.isDirectory()) {
			moveFileToDir(src, dest);
			return;
		}
		moveFile(src, dest);
	}
public static void move(final File src, final File dest) throws IOException {
		if (src.isDirectory()) {
			moveDir(src, dest);
			return;
		}
		if (dest.isDirectory()) {
			moveFileToDir(src, dest);
			return;
		}
		moveFile(src, dest);
	}
public static void move ( final File src , final File dest ) throws IOException { if ( src . isDirectory ( ) ) { moveDir ( src , dest ) ; return ; } if ( dest . isDirectory ( ) ) { moveFileToDir ( src , dest ) ; return ; } moveFile ( src , dest ) ; }
Smart move. If source is a directory, move it to destination.
Otherwise, if destination is directory, move source {@link File} to it.
Otherwise, try to move source {@link File} to destination {@link File}.

@param src  source {@link File}
@param dest destination {@link File}
@throws IOException if there is an error moving.
@see #moveDir(File, File)
@see #moveFileToDir(File, File)
@see #moveFile(File, File)
Smart move . If source is a directory move it to destination . Otherwise if destination is directory move source { @link File } to it . Otherwise try to move source { @link File } to destination { @link File } .