|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--java.io.InputStream | +--java.io.FilterInputStream | +--java.util.zip.InflaterInputStream
이 클래스는 deflate 압축 형식에서 압축 해제된 데이터의 스트림 필터를 구현합니다. GZIPInputStream 등의 다른 압축 해제 필터는 이 클래스에 근거하고 있습니다.
Inflater
필드의 개요 | |
protected byte[] |
buf
압축 해제에 사용하는 입력 버퍼입니다. |
protected Inflater |
inf
이 스트림에 사용하는 데콘프렛사입니다. |
protected int |
len
입력 버퍼의 길이입니다. |
클래스 java.io. FilterInputStream 에서 상속받은 필드 |
in |
생성자의 개요 | |
InflaterInputStream (InputStream in)
디폴트의 데콘프렛사 및 버퍼 사이즈로 새로운 입력 스트림을 작성합니다 |
|
InflaterInputStream (InputStream in,
Inflater inf)
지정된 데콘프렛사 및 디폴트의 버퍼 사이즈로 새로운 입력 스트림을 작성합니다 |
|
InflaterInputStream (InputStream in,
Inflater inf,
int size)
지정된 데콘프렛사 및 버퍼 사이즈로 새로운 입력 스트림을 작성합니다. |
메소드의 개요 | |
int |
available ()
EOF 에 이른 후에 호출했을 경우는 0 을 돌려줍니다. |
void |
close ()
입력 스트림을 닫습니다. |
protected void |
fill ()
입력 버퍼를, 압축 해제하는 데이터로 채웁니다. |
int |
read ()
압축 해제 데이터의 바이트를 읽어들입니다. |
int |
read (byte[] b,
int off,
int len)
압축 해제 데이터를 바이트 배열에 읽어들입니다. |
long |
skip (long n)
압축 해제 데이터가 지정된 바이트수만큼 스킵 합니다. |
클래스 java.io. FilterInputStream 에서 상속받은 메소드 |
mark , markSupported , read , reset |
클래스 java.lang. Object 에서 상속받은 메소드 |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
protected Inflater inf
protected byte[] buf
protected int len
생성자의 상세 |
public InflaterInputStream(InputStream in, Inflater inf, int size)
in
- 입력 스트림inf
- 데콘프렛사 (인플레이터)size
- 입력 버퍼 사이즈
IllegalArgumentException
- 사이즈가 0 이하의 경우public InflaterInputStream(InputStream in, Inflater inf)
in
- 입력 스트림inf
- 데콘프렛사 (인플레이터)public InflaterInputStream(InputStream in)
in
- 입력 스트림메소드의 상세 |
public int read() throws IOException
FilterInputStream
내의 read
IOException
- 입출력 에러가 발생했을 경우FilterInputStream.in
public int read(byte[] b, int off, int len) throws IOException
FilterInputStream
내의 read
b
- 데이터의 read처의 버퍼off
- 데이터의 개시 오프셋(offset)len
- 읽히는 최대 바이트수
ZipException
- ZIP 형식 에러가 발생했을 경우
IOException
- 입출력 에러가 발생했을 경우FilterInputStream.in
public int available() throws IOException
이 메소드는 블록 하지 않고 읽어들일 수 있는 실제의 바이트수를 돌려주기 위한 것이 아닙니다.
FilterInputStream
내의 available
IOException
- 입출력 에러가 발생했을 경우FilterInputStream.in
public long skip(long n) throws IOException
FilterInputStream
내의 skip
n
- 스킵 하는 바이트수
IOException
- 입출력 에러가 발생했을 경우
IllegalArgumentException
- n 가 0 이하의 경우public void close() throws IOException
FilterInputStream
내의 close
IOException
- 입출력 에러가 발생했을 경우FilterInputStream.in
protected void fill() throws IOException
IOException
- 입출력 에러가 발생했을 경우
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.