core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java
/**
     * Decompresses a file.
     *
     * @param inputStream the compressed file
     * @param outputFile the location to write the decompressed file
     * @throws ArchiveExtractionException thrown if there is an exception
     * decompressing the file
     */
Decompresses a file.
@param inputStream the compressed file
@param outputFile the location to write the decompressed file
@throws ArchiveExtractionException thrown if there is an exception
decompressing the file
Decompresses a file . @param inputStream the compressed file @param outputFile the location to write the decompressed file @throws ArchiveExtractionException thrown if there is an exception decompressing the file
private void decompressFile(CompressorInputStream inputStream, File outputFile) throws ArchiveExtractionException {
        LOGGER.debug("Decompressing '{}'", outputFile.getPath());
        try (FileOutputStream out = new FileOutputStream(outputFile)) {
            IOUtils.copy(inputStream, out);
        } catch (IOException ex) {
            LOGGER.debug("", ex);
            throw new ArchiveExtractionException(ex);
        }
    }
private void decompressFile ( CompressorInputStream inputStream , File outputFile ) throws ArchiveExtractionException { LOGGER . debug ( "Decompressing '{}'" , outputFile . getPath ( ) ) ; try ( FileOutputStream out = new FileOutputStream ( outputFile ) ) { IOUtils . copy ( inputStream , out ) ; } catch ( IOException ex ) { LOGGER . debug ( "" , ex ) ; throw new ArchiveExtractionException ( ex ) ; } }
Decompresses a file.
Decompresses a file .