• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which are the different between GZIPInputStream to ZipInputStream?  RSS feed

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which are the different between GZIPInputStream to ZipInputStream?

API: http://download.oracle.com/javase/6/docs/api/
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16057
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the documentation that you posted a link to yourself?

Note: The ZIP file format is slightly different from the GZIP file format. ZIP files usually have the extension *.zip, while GZIP files usually have the extension *.gz.
 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got to understand now:

gzip is to linux
zip is to windows.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16057
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily; both GZIP and ZIP files can be used on Windows as well as Linux.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!