Class ZipCategory
java.lang.Object
org.springframework.cloud.contract.stubrunner.util.ZipCategory
Based on
https://github.com/
timyates/groovy-common-extensions.
Category for
File that adds a method that allows you to unzip a given file to a
specified location- Author:
- Marcin Grzejszczak
-
Method Summary
-
Method Details
-
unzipTo
Unzips this file. If the destination directory is not provided, it will fall back to this file's parent directory.- Parameters:
self- filedestination- (optional), the destination directory where this file's content will be unzipped to.- Returns:
- a
Collectionof unzippedFileobjects.
-