Quantcast
Channel: Examples Java Code Geeks » FileInputStream
Viewing all articles
Browse latest Browse all 9

Compress a File in GZIP format in Java

$
0
0
In this tutorial we are going to see how you can compress a File in Java using the GZIP compression method. So, to perform File compression using GZIP in Java, you have to: Create a FileOutputStream to the destination file, that is the file path to the output compressed file. Create a GZIPOutputStream to the ...

Viewing all articles
Browse latest Browse all 9

Trending Articles