반응형 파일 입출력1 [Java] 파일 안의 데이터 읽고 파일 이동시키기 이전글https://greed-yb.tistory.com/255 [JAVA] 파일 생성, 삭제, 쓰기, 이름변경, 이동, 복사, 읽기 하기파일 생성import java.io.File;public class FileUtil { public static void main(String args[]) throws Exception{ try{ // 만들 파일 이름 및 경로 지정 File file = new File("src/main/resources/config/config.txt"); file.createNewFile(); }catch (Excgreed-yb.tistory.com 배치로 전달받은 txt, xml 등의 json 데이터가 있는 파일들을 읽고데이터 parsing 과 파일을 이동시켜야 하는 코드가 .. 2025. 6. 1. 이전 1 다음 반응형