Skip to content

Instantly share code, notes, and snippets.

@tango238
Created November 18, 2011 07:16
Show Gist options
  • Select an option

  • Save tango238/1375814 to your computer and use it in GitHub Desktop.

Select an option

Save tango238/1375814 to your computer and use it in GitHub Desktop.
test.groovy
def jarDir = new File('jars')
jarDir.list().each { fname ->
def zipFile = new java.util.zip.ZipFile(new File('jars/' + fname))
zipFile.entries().each {
println zipFile.getInputStream(it).text
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment