- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for closeEntry (0.06 seconds)
-
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
* <p> * If {@link ZipInputStream#closeEntry()} throws an exception, an error message is logged. * The exception is not rethrown. * </p> * * @param zis * {@link ZipInputStream}. Must not be {@literal null}. * @see ZipInputStream#closeEntry() */ public static void closeEntry(final ZipInputStream zis) { assertArgumentNotNull("zis", zis);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
val entry = ZipEntry(entryName) entry.time = zipEntryBaseTimestamp putNextEntry(entry) BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) } closeEntry() } fun File.getClassSuperTypes(): Set<String> { if (!path.endsWith(".class")) { throw IllegalArgumentException("Not a class file: $path") } inputStream().use {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy
def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies def out = new File(outputDir, shortName) Files.copy(zin, out.toPath()) zin.closeEntry() } } } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 08 13:44:59 GMT 2021 - 2.4K bytes - Click Count (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
jarStream.putNextEntry(JarEntry(entryName)) Files.copy(file, jarStream) jarStream.closeEntry() return FileVisitResult.CONTINUE } }) } } } return sequenceOf(outputPath) }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
handler.processClass(packageName, shortClassName); } } finally { ZipInputStreamUtil.closeEntry(zipInputStream); } } } /** * Traverses classes contained in the file system. * * @param dir the base directory
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
@Override public void close() throws IOException { ZipInputStreamUtil.closeEntry(zipInputStream); } }); } } } /** * Traverses resources contained in the file system. * * @param rootDirCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.2K bytes - Click Count (0)