- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for zipStream (0.19 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/ZipFileFixture.groovy
def file = temporaryFolder.file("foo.txt") file.text = ZIP_ENTRY_CONTENT def zipStream = new ZipOutputStream(zipFile.newOutputStream()) def zipEntry = new ZipEntry(file.name) zipEntry.setSize(file.size()) zipStream.putNextEntry(zipEntry) zipStream.write(file.bytes) zipStream.close() return zipFile } abstract TestNameTestDirectoryProvider getTemporaryFolder()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
writeContents(bos, cl) ZipArchiveOutputStream zipStream = new ZipArchiveOutputStream(testFile) try { def entry = new ZipArchiveEntry(testFile.name) entry.setTime(lmd.getTime()) zipStream.putArchiveEntry(entry) zipStream << bos.toByteArray() zipStream.closeArchiveEntry() zipStream.finish() } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java
boolean entryExtracted = false; ZipInputStream zipStream = null; BufferedOutputStream extractTargetStream = null; try { zipStream = new ZipInputStream(new FileInputStream(jarFile)); extractTargetStream = new BufferedOutputStream(new FileOutputStream(extractToFile));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 07 19:17:11 UTC 2023 - 5.6K bytes - Viewed (0)