- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for StreamZipInput (0.29 sec)
-
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/StreamZipInput.java
import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import java.util.zip.ZipInputStream; public class StreamZipInput implements ZipInput { private final ZipInputStream inputStream; public StreamZipInput(InputStream inputStream) { this.inputStream = new ZipInputStream(inputStream); } @Override public Iterator<ZipEntry> iterator() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:00 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/StreamZipInputTest.groovy
@Rule TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()) def "cannot read from a zip entry stream a second time"() { def zipInput = new StreamZipInput(makeZip("foo.zip").newInputStream()) when: def zipEntry = zipInput.iterator().next() def content = zipEntry.withInputStream { readAllBytes(it) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ZipHasher.java
import org.gradle.api.internal.file.archive.ZipEntry; import org.gradle.api.internal.file.archive.ZipInput; import org.gradle.api.internal.file.archive.impl.FileZipInput; import org.gradle.api.internal.file.archive.impl.StreamZipInput; import org.gradle.internal.file.FileType; import org.gradle.internal.fingerprint.FileSystemLocationFingerprint; import org.gradle.internal.fingerprint.FingerprintHashingStrategy;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/FileZipInputTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/FileZipInput.java
*/ public static ZipInput create(File file) throws FileException { if (isZipFileSafeToUse()) { return new FileZipInput(file); } else { try { return new StreamZipInput(new FileInputStream(file)); } catch (FileNotFoundException e) { throw new FileException(e); } } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:00 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.api.internal.file.archive.impl.StreamZipInput$1> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (StreamZipInput.java:0) Class <org.gradle.api.internal.file.archive.impl.StreamZipInput$StreamZipEntry> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (StreamZipInput.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)