- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for closeEntry (0.07 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) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.7K 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/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
val zipEntry = ZipEntry(relativePath) try { zipOutput.putNextEntry(zipEntry) Files.copy(file.toPath(), zipOutput) zipOutput.closeEntry() } catch (e: IOException) { throw GradleException("Error copying file contents to zip. File: " + file.toPath(), e) } } } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
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) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
for (String entry : entries) { jarOut.putNextEntry(new ZipEntry(entry)); Resources.copy(ClassPathTest.class.getResource(entry), jarOut); jarOut.closeEntry(); } } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
JarEntry entry = new JarEntry("fess_ds++.xml"); jos.putNextEntry(entry); jos.write(xmlContent.getBytes()); jos.closeEntry(); } } // Test DataStore implementation for testing private static class TestDataStore extends AbstractDataStore { private String name;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0)