5556575859606162636465
//Set the compressed source file targzUnArchiver.setSourceFile(targzFile); //extract the .tar.gz file on destination Path targzUnArchiver.extract("", destinationFile); } else { throw new FileNotFoundException("File "+file + " missing."); }