GZIPInputStream vs ZipInputStream

GZIPInputStream or ZipInputStream. What is better? What class you will use in what cases?
[96 byte] By [dbes@isd.dp.uaa] at [2007-11-26 14:43:38]
# 1
Which is better, a fork or a spoon?I would use GZipInputStream if the data is formatted as GZIP, ZipInputStream if the data is formatted as ZIP.
DrClapa at 2007-7-8 8:31:16 > top of Java-index,Java Essentials,Java Programming...
# 2
if you want to know which compression algorithm is better, it's GZIP :-)
SoulTech2012a at 2007-7-8 8:31:16 > top of Java-index,Java Essentials,Java Programming...
# 3
> Which is better, a fork or a spoon?and we all know the answer to this: The Spork!
SoulTech2012a at 2007-7-8 8:31:16 > top of Java-index,Java Essentials,Java Programming...