|
Java™ by example!
|
|
|
How do I decompress using the GZIP algorithm at runtime?
Use the standard API class GZIPInputStream. Internally, it uses Inflater to decompress data. The following example asks the user a file to decompress and writes the decompressed stream of data to file.def. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|