Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for closeEntry (0.61 sec)

  1. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                zos.write("<html>test</html>".getBytes());
                zos.closeEntry();
    
                // Add CSS file
                ZipEntry cssEntry = new ZipEntry("css/style.css");
                zos.putNextEntry(cssEntry);
                zos.write("body { color: red; }".getBytes());
                zos.closeEntry();
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. 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 rootDir
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. 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;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

                    ZipEntry entry = null;
                    while ((entry = ZipInputStreamUtil.getNextEntry(zis)) != null) {
                        entryNames.add(entry.getName());
                        ZipInputStreamUtil.closeEntry(zis);
                    }
                } finally {
                    CloseableUtil.close(zis);
                }
            }
    
            @Override
            public boolean isExistClass(final String className) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top