- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getNextEntry (0.14 sec)
-
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
/** * {@link ZipInputStream#getNextEntry()}の例外処理をラップするメソッドです。 * * @param zis * {@link ZipInputStream}。{@literal null}であってはいけません * @return {@link ZipEntry} * @see ZipInputStream#getNextEntry() */ public static ZipEntry getNextEntry(final ZipInputStream zis) { assertArgumentNotNull("zis", zis); try {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/TarTestFixture.groovy
TarArchiveInputStream tarInputStream = new TarArchiveInputStream(gzip ? new GZIPInputStream(inputStream) : inputStream, metadataCharset) for (TarArchiveEntry tarEntry = getNextEntry(tarInputStream); tarEntry != null; tarEntry = getNextEntry(tarInputStream)) { addMode(tarEntry.name, tarEntry.mode) if (tarEntry.directory) { continue }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/JTarPacker.java
public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException { TarInputStream tarInput = new TarInputStream(input.openInput()); while (true) { TarEntry entry = tarInput.getNextEntry(); if (entry == null) { break; } PackerUtils.unpackEntry(entry.getName(), tarInput, buffer, targetFactory); } tarInput.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoTransform.java
try (JarInputStream inputStream = new JarInputStream(new FileInputStream(jar))) { boolean isMultiReleaseJar = containsMultiReleaseJarEntry(inputStream); ZipEntry next = inputStream.getNextEntry(); while (next != null) { if ("module-info.class".equals(next.getName())) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/jvm/JavaModuleDetector.java
return true; } boolean isMultiReleaseJar = containsMultiReleaseJarEntry(jarStream); ZipEntry next = jarStream.getNextEntry(); while (next != null) { if (MODULE_INFO_CLASS_FILE.equals(next.getName())) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/CommonsTarPacker.java
TarArchiveInputStream tarInput = new TarArchiveInputStream(input.openInput()); while (true) { TarArchiveEntry entry = tarInput.getNextEntry(); if (entry == null) { break; } PackerUtils.unpackEntry(entry.getName(), tarInput, buffer, targetFactory); } tarInput.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:19 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ZipPacker.java
public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException { ZipInputStream zipInput = new ZipInputStream(input.openInput()); while (true) { ZipEntry entry = zipInput.getNextEntry(); if (entry == null) { break; } PackerUtils.unpackEntry(entry.getName(), zipInput, buffer, targetFactory); } zipInput.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/StreamZipInput.java
@Override protected ZipEntry computeNext() { java.util.zip.ZipEntry nextEntry; try { nextEntry = inputStream.getNextEntry(); } catch (IOException e) { throw new FileException(e); } return nextEntry == null ? endOfData() : new StreamZipEntry(nextEntry); }
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/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/UnzipTransform.java
try (ZipInputStream inputStream = new ZipInputStream(new BufferedInputStream(new FileInputStream(headersZip)))) { ZipEntry entry; while ((entry = inputStream.getNextEntry()) != null) { if (entry.isDirectory()) { continue; } File outFile = new File(unzipDir, safePathName(entry.getName()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0)