Unzip Archive with Groovy

前端 未结 9 1223
深忆病人
深忆病人 2020-12-15 04:00

is there a built-in support in Groovy to handle Zip files (the groovy way)?

Or do i have to use Java\'s java.util.zip.ZipFile to process Zip files in Groovy ?

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 04:49

    This article expands on the AntBuilder example.

    http://preferisco.blogspot.com/2010/06/using-goovy-antbuilder-to-zip-unzip.html

    However, as a matter of principal - is there a way to find out all of the properties, closures, maps etc that can be used when researching a new facet in groovy/java? There seem to be loads of really useful things, but how to unlock their hidden treasures? The NetBeans/Eclipse code-complete features now seem hopelessly limited in the new language richness that we have here.

提交回复
热议问题