Skip to content

Instantly share code, notes, and snippets.

@dangnhdev
Created February 14, 2016 17:16
Show Gist options
  • Save dangnhdev/477b9a6971b22beb3c37 to your computer and use it in GitHub Desktop.
Save dangnhdev/477b9a6971b22beb3c37 to your computer and use it in GitHub Desktop.
import com.activestudy.Utility.file.FileUtils;
import java.io.IOException;
import java.nio.file.CopyOption;
import java.nio.file.LinkOption;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
/**
*
* @author dangg
*/
public class TestASLib {
public static void main(String[] args) throws IOException {
//thư mục cần delete
Path needToDelete = Paths.get("F:\\Test\\");
FileUtils.deleteDirectory(needToDelete);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment