[JAVA] FileChannel을 이용한 파일 옮기기
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071public class FileTest{ public static void main(String[] args){ // 파일명 선언 String file_name = "test.txt"; // 파일 선언 File beforeFile = null; File afterFile = null; // 파일 읽고 쓰기 위한 FileInputStream, FileOutputStream 선언 FileInputStream beforeStream = null; FileOutputStream..
JAVA
2018. 3. 6. 15:21