이번엔 파일과 하위 폴더들의 파일까지 삭제하는 과정을 알아보겠습니다.간단해서 그냥 텍스트로 소스를 적어보겠습니다. 소스public void deleteFolder(String parentPath) { File file = new File(parentPath); String[] fnameList = file.list(); int fCnt = fnameList.length; String childPath = ""; for(int i = 0; i < fCnt; i++) { childPath = parentPath+"/"+fnameList[i]; File f = new File(childPath); if( ! f.isDirectory()) { f.delete(); //파일이면 바로 삭제 } else { dele..