|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.util.zip.DeflaterOutputStream
java.util.zip.GZIPOutputStream
public class GZIPOutputStream
이 클래스는, GZIP 파일 형식에서 압축된 데이터를 기입하기 위한 스트림 필터를 구현합니다.
필드의 개요 | |
---|---|
protected CRC32 |
crc
압축 해제된 데이터에 사용하는 CRC-32 입니다. |
클래스 java.util.zip. DeflaterOutputStream 로부터 상속된 필드 |
---|
buf , def |
클래스 java.io. FilterOutputStream 로부터 상속된 필드 |
---|
out |
생성자 의 개요 | |
---|---|
GZIPOutputStream (OutputStream out)
디폴트의 버퍼 사이즈로 새로운 출력 스트림을 작성합니다. |
|
GZIPOutputStream (OutputStream out,
int size)
지정된 버퍼 사이즈로 새로운 출력 스트림을 작성합니다. |
메소드의 개요 | |
---|---|
void |
finish ()
출력 스트림에의 압축 데이터의 기입을 종료합니다. |
void |
write (byte[] buf,
int off,
int len)
압축된 출력 스트림에 바이트 배열을 기입합니다. |
클래스 java.util.zip. DeflaterOutputStream 로부터 상속된 메소드 |
---|
close , deflate , write |
클래스 java.io. FilterOutputStream 로부터 상속된 메소드 |
---|
flush , write |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
protected CRC32 crc
생성자 의 상세 |
---|
public GZIPOutputStream(OutputStream out, int size) throws IOException
out
- 출력 스트림size
- 출력 버퍼 사이즈
IOException
- 입출력 에러가 발생했을 경우
IllegalArgumentException
- 사이즈가 0 이하의 경우public GZIPOutputStream(OutputStream out) throws IOException
out
- 출력 스트림
IOException
- 입출력 에러가 발생했을 경우메소드의 상세 |
---|
public void write(byte[] buf, int off, int len) throws IOException
DeflaterOutputStream
내의 write
buf
- 기입해지는 데이터off
- 데이터의 개시 오프셋(offset)len
- 데이터의 길이
IOException
- 입출력 에러가 발생했을 경우FilterOutputStream.write(int)
public void finish() throws IOException
DeflaterOutputStream
내의 finish
IOException
- 입출력 에러가 발생했을 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.