|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.util.zip.Inflater
ÀÌ Å¬·¡½º´Â ÀϹÝÀûÀÎ ZLIB ¾ÐÃà ÇÁ·Î±×·¥ ¶óÀ̺귯¸®¸¦ »ç¿ëÇØ ¹ü¿ëÀÇ ¾ÐÃà ÇØÁ¦ ¾Ë°í¸®ÁòÀ» ¼Æ÷Æ®ÇÕ´Ï´Ù. ZLIB ¾ÐÃà ÇÁ·Î±×·¥ ¶óÀ̺귯¸®´Â ´çÃÊ PNG ±×·¡ÇÈ Ç¥ÁØÀÇ ÀϺημ °³¹ßµÈ °ÍÀ¸·Î, ƯÇã·Î´Â º¸È£µÇ°í ÀÖÁö ¾Ê½À´Ï´Ù. »ç¾çÀÇ ÀÚ¼¼ÇÑ °ÍÀº ¡¸ÆÐŰÁö java.util.zip ÀÇ ¼³¸í¡¹À» ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
Deflater
»ý¼ºÀÚÀÇ °³¿ä | |
Inflater ()
»õ·Î¿î µ¥ÄÜÇÁ·¿»ç¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
Inflater (boolean nowrap)
»õ·Î¿î µ¥ÄÜÇÁ·¿»ç¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
end ()
µ¥ÄÜÇÁ·¿»ç¸¦ ´Ý¾Æ ¾ÐÃà ÇØÁ¦µÈ ÀÔ·ÂÀ» ¸ðµÎ ÆÄ±âÇÕ´Ï´Ù. |
protected void |
finalize ()
°¡º£Áö ÄÝ·º¼ÇÀ» ÇßÀ» ¶§¿¡ µ¥ÄÜÇÁ·¿»ç¸¦ ´Ý½À´Ï´Ù. |
boolean |
finished ()
¾ÐÃà µ¥ÀÌÅÍ ½ºÆ®¸²ÀÇ ¸¶Áö¸·¿¡ ´ÞÇßÀ» °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getAdler ()
¾ÐÃà ÇØÁ¦ µ¥ÀÌÅÍÀÇ ADLER-32 Ä¡¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getRemaining ()
ÀÔ·Â ¹öÆÛ¿¡ ³²¾Æ ÀÖ´Â ¹ÙÀÌÆ®ÀÇ ÃѼö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getTotalIn ()
Áö±Ý±îÁö ÀÔ·ÂµÈ ¹ÙÀÌÆ®ÀÇ ÃѼö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getTotalOut ()
Áö±Ý±îÁö Ãâ·ÂµÈ ¹ÙÀÌÆ®ÀÇ ÃѼö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
inflate (byte[] b)
ÁöÁ¤µÈ ¹öÆÛ¿¡ ¹ÙÀÌÆ®¸¦ ¾ÐÃà ÇØÁ¦ÇÕ´Ï´Ù. |
int |
inflate (byte[] b,
int off,
int len)
ÁöÁ¤µÈ ¹öÆÛ¿¡ ¹ÙÀÌÆ®¸¦ ¾ÐÃà ÇØÁ¦ÇÕ´Ï´Ù. |
boolean |
needsDictionary ()
pre-set µñ¼î³»¸®°¡ ¾ÐÃà ÇØÁ¦¿¡ ÇÊ¿äÇÑ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
needsInput ()
ÀÔ·Â ¹öÆÛ¿¡ µ¥ÀÌÅͰ¡ ³²Áö ¾ÊÀº °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
reset ()
»õ·Î¿î ÀÔ·Â µ¥ÀÌÅÍ ¼¼Æ®¸¦ ó¸®ÇÒ ¼ö ÀÖ°Ô ÀÎÇ÷¹ÀÌÅ͸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù. |
void |
setDictionary (byte[] b)
pre-set µñ¼î³»¸®¸¦ ÁöÁ¤ÀÇ ¹ÙÀÌÆ® ¹è¿·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setDictionary (byte[] b,
int off,
int len)
pre-set µñ¼î³»¸®¸¦ ÁöÁ¤ÀÇ ¹ÙÀÌÆ® ¹è¿·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setInput (byte[] b)
¾ÐÃà ÇØÁ¦¸¦ À§ÇÑ ÀÔ·Â µ¥ÀÌÅ͸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setInput (byte[] b,
int off,
int len)
¾ÐÃà ÇØÁ¦¸¦ À§ÇÑ ÀÔ·Â µ¥ÀÌÅ͸¦ ¼³Á¤ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public Inflater(boolean nowrap)
ÁÖ: nowrap ¿É¼ÇÀ» »ç¿ëÇÏ´Â °æ¿ì´Â ÀÔ·ÂÀ¸·Î¼ Ưº°ÇÑ ¡¸´õ¹Ì¡¹¹ÙÀÌÆ®¸¦ ÁöÁ¤ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. À̰ÍÀº ÃÖÀûȸ¦ ½Ç½ÃÇϱâ À§Çؼ(¶§¹®¿¡) ZLIB ³×ÀÌÆ¼ºê ÇÁ·Î±×·¥ ¶óÀ̺귯¸®·Î ÇÊ¿äÇÕ´Ï´Ù.
nowrap
- true ÀÇ °æ¿ì´Â GZIP ȣȯÀÇ ¾ÐÃàÀ» ¼Æ÷Æ®public Inflater()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void setInput(byte[] b, int off, int len)
b
- ÀÔ·Â µ¥ÀÌÅÍ ¹ÙÀÌÆ®off
- ÀÔ·Â µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- ÀÔ·Â µ¥ÀÌÅÍÀÇ ±æÀÌneedsInput()
public void setInput(byte[] b)
b
- ÀÔ·Â µ¥ÀÌÅÍ ¹ÙÀÌÆ®needsInput()
public void setDictionary(byte[] b, int off, int len)
b
- µñ¼î³»¸® µ¥ÀÌÅÍ ¹ÙÀÌÆ®off
- µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- µ¥ÀÌÅÍÀÇ ±æÀÌneedsDictionary()
,
getAdler()
public void setDictionary(byte[] b)
b
- µñ¼î³»¸® µ¥ÀÌÅÍ ¹ÙÀÌÆ®needsDictionary()
,
getAdler()
public int getRemaining()
public boolean needsInput()
public boolean needsDictionary()
setDictionary(byte[], int, int)
public boolean finished()
public int inflate(byte[] b, int off, int len) throws DataFormatException
b
- ¾ÐÃà ÇØÁ¦µÇ´Â µ¥ÀÌÅÍ¿ëÀÇ ¹öÆÛoff
- µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- ¾ÐÃà ÇØÁ¦µÇ´Â ÃÖ´ë ¹ÙÀÌÆ®¼ö
DataFormatException
- ¾ÐÃà µ¥ÀÌÅÍ Çü½ÄÀÌ ¹«È¿ÀÎ °æ¿ìneedsInput()
,
needsDictionary()
public int inflate(byte[] b) throws DataFormatException
b
- ¾ÐÃà ÇØÁ¦µÇ´Â µ¥ÀÌÅÍ¿ëÀÇ ¹öÆÛ
DataFormatException
- ¾ÐÃà µ¥ÀÌÅÍ Çü½ÄÀÌ ¹«È¿ÀÎ °æ¿ìneedsInput()
,
needsDictionary()
public int getAdler()
public int getTotalIn()
public int getTotalOut()
public void reset()
public void end()
protected void finalize()
Object
³»ÀÇ finalize
|
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.