본문 바로가기

시다바리

검색하기
시다바리
프로필사진 호서아빠

  • 바슈라마 (39)
    • DevCenter (1)
    • My Documents (4)
    • Database (7)
      • Oracle (7)
    • OS (2)
      • Linux (2)
    • Language (22)
      • C (7)
      • Java (13)
    • Games (1)
      • Mabinogi (1)
    • Data (2)
      • Program (1)
      • Form (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/11   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

시다바리

[Java] FileChannel과 ByteBuffer를 사용한 파일 복사 프로그램

import java.io.*; import java.nio.*; import java.nio.channels.*; /** * FileChannel과 ByteBuffer를 사용한 파일 복사 프로그램 **/ public class FileCopy { public static void main(String[] args) { FileChannel inputChannel = null; FileChannel outputChannel = null; try { FileInputStream in = new FileInputStream(args[0]); FileOutputStream out = new FileOutputStream(args[1]); inputChannel = in.getChannel(); outputCh..

Language/Java 2008. 9. 23. 12:29
Prev 1 ··· 7 8 9 10 11 12 13 ··· 39 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바