Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for processResource (0.11 sec)

  1. src/main/java/org/codelibs/core/io/ResourceHandler.java

     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
         * @param path the path
         * @param is the {@link InputStream} to read the resource
         */
        void processResource(String path, InputStream is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 997 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                        continue;
                    }
                    final InputStream is = JarFileUtil.getInputStream(jarFile, entry);
                    try {
                        handler.processResource(entryName.substring(pos), is);
                    } finally {
                        CloseableUtil.close(is);
                    }
                }
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/TraversalUtil.java

                ResourceTraversalUtil.forEach(jarFile, (ResourceHandler) (path, is) -> {
                    if (rootDir == null || path.startsWith(rootDir)) {
                        handler.processResource(path, is);
                    }
                });
            }
    
            @Override
            public void close() {
                JarFileUtil.close(jarFile);
            }
    
        }
    
        /**
    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