Package com.sap.cds.maven.plugin.util
Class ArchiveUtils
java.lang.Object
com.sap.cds.maven.plugin.util.ArchiveUtils
This class extracts
*.zip
and tar.gz
archives to a given destination directory.-
Method Summary
-
Method Details
-
extract
Extracts an archive to a destination directory- Parameters:
archiveFile
- the archive to extract, either*.zip
ortar.gz
destinationDirectory
- the destination directory- Throws:
FileNotFoundException
- if given archive doesn't existIOException
- if an I/O error occurredNullPointerException
- if any of the parameters isnull
.
-