I received a file, I need to compress this file and pass the file name of compressed file as an argument to another method.
File fileName = new File("fileA");
How can I snappy compress this file and get the file name of the compressed file?
Thanks!