Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for closeEntry (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

                zos.write("Valid content ใƒ†ใ‚นใƒˆ".getBytes("UTF-8"));
                zos.closeEntry();
    
                // Add another valid entry
                final ZipEntry entry2 = new ZipEntry("another.txt");
                zos.putNextEntry(entry2);
                zos.write("Another valid content".getBytes("UTF-8"));
                zos.closeEntry();
            }
    
            final InputStream in = new ByteArrayInputStream(baos.toByteArray());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. 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)
                    }
                }
            }
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
  3. 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 {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. 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 {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top