[Java]참 궁금한게 많습니다.(소스첨부)
글쓴이: sork1004 / 작성시간: 수, 2009/11/25 - 7:13오후
File dir = new File("."); String [] files = dir.list(new FilenameFilter(){ public boolean accept(File dir, String strFile) { if(strFile.lastIndexOf(".") > -1) { return true; } else { return false; } } }); return files;
파일 리스트를 불러오는 부분입니다.
인터넷을 보고 작성은 했는데 어떻게 돌아가는지 궁금합니다 ㅜ
주석을 통해 구동순서를 알려주시면 감사하겠습니다.
Forums:
댓글 달기