DeflaterOutputStream « File Input Output « Java






1.Use DeflaterOutputStream to zip
2.Create a compressed data file by using a DeflaterOutputStream and then read that data through an InflaterInputStream.