|
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.