FileFilter 를 사용하여 특정 파일 포멧만 필터링이 가능하다.
예제)
File dir = new File(param.getInFileNm()); pdf2HtmlExService.runPdf2htmlEx(files[i].getAbsoluteFile().toString()); |
'자바' 카테고리의 다른 글
쉘, 커멘드 명령어 실행 방법 (0) | 2021.04.28 |
---|---|
자바에서 프로그램 수행 시간 측정 (0) | 2021.04.28 |