본문 바로가기

프로그래밍/Java

File 처리....

File에 어떠한 데이터를 덧붙여 쓸때



jdk 1.4 이상

FileWriter(File file, boolean) 뒤에 boolean에 true를 써주면 뒤에 이어쓰기



jdk 1.4 이하

RandomAccessFile(File file, String mode) : 접근 모드
RandomAccessFile.seek(int)  : 커서의 위치
RandomAccessFile.writeBytes(String msg) : 입력

'프로그래밍 > Java' 카테고리의 다른 글

DJ Java DeCompiler..  (0) 2006.10.10
Java Decompiler.. MOCHA..  (0) 2006.10.10
jar 파일 만들기  (0) 2006.09.22
페이지 새로 고침..  (0) 2006.09.01
J2EE의 새로운 이름?  (0) 2006.08.31