|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.io.OutputStream | +--java.io.FilterOutputStream | +--java.util.zip.DeflaterOutputStream
ÀÌ Å¬·¡½º´Â deflate ¾ÐÃà Çü½Ä¿¡¼ ¾ÐÃàµÇ°í ÀÖ´Â µ¥ÀÌÅÍÀÇ Ãâ·Â ½ºÆ®¸² ÇÊÅ͸¦ ±¸ÇöÇÕ´Ï´Ù. ¶Ç, GZIPOutputStream µîÀÇ ´Ù¸¥ ŸÀÔÀÇ ¾ÐÃà ÇÊÅÍ´Â ÀÌ Å¬·¡½º¿¡ ±Ù°ÅÇϰí ÀÖ½À´Ï´Ù.
Deflater
ÇʵåÀÇ °³¿ä | |
protected byte[] |
buf
¾ÐÃà µ¥ÀÌÅ͸¦ ±âÀÔÇϱâ À§ÇÑ Ãâ·Â ¹öÆÛÀÔ´Ï´Ù. |
protected Deflater |
def
ÀÌ ½ºÆ®¸²À¸·Î »ç¿ëÇÏ´Â ¾Ð·ÂÀÔ´Ï´Ù. |
Ŭ·¡½º java.io. FilterOutputStream ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
out |
»ý¼ºÀÚÀÇ °³¿ä | |
DeflaterOutputStream (OutputStream out)
µðÆúÆ®ÀÇ ¾Ð·Â ¹× ¹öÆÛ »çÀÌÁî·Î »õ·Î¿î Ãâ·Â ½ºÆ®¸²À» ÀÛ¼ºÇÕ´Ï´Ù. |
|
DeflaterOutputStream (OutputStream out,
Deflater def)
ÁöÁ¤µÈ ¾Ð·Â ¹× µðÆúÆ®ÀÇ ¹öÆÛ »çÀÌÁî·Î »õ·Î¿î Ãâ·Â ½ºÆ®¸²À» ÀÛ¼ºÇÕ´Ï´Ù. |
|
DeflaterOutputStream (OutputStream out,
Deflater def,
int size)
ÁöÁ¤µÈ ¾Ð·Â ¹× ¹öÆÛ »çÀÌÁî·Î »õ·Î¿î Ãâ·Â ½ºÆ®¸²À» ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
close ()
³ª¸ÓÁöÀÇ ¾ÐÃà µ¥ÀÌÅ͸¦ Ãâ·Â ½ºÆ®¸²¿¡ ±âÀÔÇØ, ½ºÆ®¸²À» ´Ý½À´Ï´Ù. |
protected void |
deflate ()
¾ÐÃà µ¥ÀÌÅÍÀÇ ´ÙÀ½ÀÇ ºí·ÏÀ» Ãâ·Â ½ºÆ®¸²¿¡ ±âÀÔÇÕ´Ï´Ù. |
void |
finish ()
Ãâ·Â ½ºÆ®¸²¿¡ÀÇ ¾ÐÃà µ¥ÀÌÅÍÀÇ ±âÀÔÀ» Á¾·áÇÕ´Ï´Ù. |
void |
write (byte[] b,
int off,
int len)
¹ÙÀÌÆ® ¹è¿À» ¾ÐÃà Ãâ·Â ½ºÆ®¸²¿¡ ±âÀÔÇÕ´Ï´Ù. |
void |
write (int b)
¹ÙÀÌÆ®¸¦ ¾ÐÃà Ãâ·Â ½ºÆ®¸²¿¡ ±âÀÔÇÕ´Ï´Ù. |
Ŭ·¡½º java.io. FilterOutputStream ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
flush , write |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected Deflater def
protected byte[] buf
»ý¼ºÀÚÀÇ »ó¼¼ |
public DeflaterOutputStream(OutputStream out, Deflater def, int size)
out
- Ãâ·Â ½ºÆ®¸²def
- ¾Ð·Â (µðÇ÷ºÅÍ)size
- Ãâ·Â ¹öÆÛ »çÀÌÁî
IllegalArgumentException
- »çÀÌÁî°¡ 0 ÀÌÇÏÀÇ °æ¿ìpublic DeflaterOutputStream(OutputStream out, Deflater def)
out
- Ãâ·Â ½ºÆ®¸²def
- ¾Ð·Â (µðÇ÷ºÅÍ)public DeflaterOutputStream(OutputStream out)
out
- Ãâ·Â ½ºÆ®¸²¸Þ¼ÒµåÀÇ »ó¼¼ |
public void write(int b) throws IOException
FilterOutputStream
³»ÀÇ write
b
- ±âÀÔÇØÁö´Â ¹ÙÀÌÆ®
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìpublic void write(byte[] b, int off, int len) throws IOException
FilterOutputStream
³»ÀÇ write
b
- ±âÀÔÇØÁö´Â µ¥ÀÌÅÍoff
- µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- µ¥ÀÌÅÍÀÇ ±æÀÌ
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìFilterOutputStream.write(int)
public void finish() throws IOException
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìpublic void close() throws IOException
FilterOutputStream
³»ÀÇ close
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìFilterOutputStream.flush()
,
FilterOutputStream.out
protected void deflate() 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.