Code written by yourself (you feel good 2004-09-12)

xiaoxiao2021-03-06  56

// delete a directory // delDir.java // yyang

import java.io *;. import java.util *;. public class DelDir {private static void deletefile (File delpath) throws FileNotFoundException, IOException {File [] filelist = delpath.listFiles (); if (filelist.length = 0! ) {For (INT i = 0; I

转载请注明原文地址:https://www.9cbs.com/read-117912.html

New Post(0)