FileChannel을 이용한 파일 복사
public class FileCopy { public static void main(String[] args) { try { Path from = Paths.get("c:/Temp/dir/house.jpg"); Path to = Paths.get("c:/Temp/dir/house2.jpg"); FileChannel fcFrom = FileChannel.open(from, StandardOpenOption.READ); FileChannel fcTo = FileChannel.open(to, StandardOpenOption.CREATE, StandardOpenOption.WRITE); ByteBuffer bb = ByteBuffer.allocateDirect(1024); int byteCount; whil..
배움과 복습
2017. 9. 22. 09:12
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 계층형 쿼리
- casring
- Interface
- 중첩 클래스
- SQL Operator
- NVL2()
- DECODE()
- 상속
- 타입변환과 다형성
- z-dindex
- 복수행 함수
- 멤버 클래스
- DI(의존성 주입)
- SELECT절 명령어
- 테이블 데이터 복사
- FileChannel
- Generic Type
- Maven Project
- hierarchical query
- implements
- IS RECORD
- GROUP BY절
- NVL()
- CLASS
- 데이터 딕셔너리
- MONTH_BETWEEN
- tables in htmll
- IN(var1 var2 var3)
- !(not)
- 로컬 클래스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함