JavaTM 2 Platform
Standard Ed. 6

類別 java.util.zip.Deflater
的使用

使用 Deflater 的軟體套件
java.util.zip 提供用於讀寫標準 ZIP 和 GZIP 檔案格式的類別。 
 

java.util.zip 中 Deflater 的使用
 

宣告為 Deflater 的 java.util.zip 中的欄位
protected  Deflater DeflaterInputStream.def
          此串流的壓縮器。
protected  Deflater DeflaterOutputStream.def
          此串流的壓縮器。
 

參數型別為 Deflater 的 java.util.zip 中的建構子
DeflaterInputStream(InputStream in, Deflater defl)
          創建一個帶有指定壓縮器和預設緩衝區大小的新輸入串流。
DeflaterInputStream(InputStream in, Deflater defl, int bufLen)
          創建一個帶有指定壓縮器和緩衝區大小的新輸入串流。
DeflaterOutputStream(OutputStream out, Deflater def)
          使用指定壓縮器和預設緩衝區大小創建一個新輸出串流。
DeflaterOutputStream(OutputStream out, Deflater def, int size)
          使用指定壓縮器和緩衝區大小創建一個新輸出串流。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。