Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for resources (0.08 sec)

  1. src/main/java/jcifs/util/ResourceManager.java

        }
    
        /**
         * Create a managed resource wrapper
         *
         * @param <T> resource type
         * @param resource the resource to wrap
         * @return managed resource
         */
        public <T extends AutoCloseable> ManagedResource<T> manage(T resource) {
            String resourceId = registerResource(resource);
            return new ManagedResource<>(resource, resourceId, this);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. CLAUDE.md

    - JavaDoc required for public APIs
    - License headers required
    
    ### Testing
    
    **Structure**: `src/test/java/org/codelibs/fess/crawler/`
    **Frameworks**: JUnit 4, UTFlute, Mockito, Testcontainers
    **Test Resources**: `src/test/resources/`
    
    **Pattern**:
    ```java
    public class MyTest extends UTFlute {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            // Setup
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. ADDING_NEW_LANGUAGE.md

    - Ensure all property values are properly escaped
    - Run `mvn clean` before rebuilding
    
    ## Additional Resources
    
    - Fess Configuration: `src/main/resources/fess_config.properties`
    - DBFlute FreeGen Configuration: `dbflute_fess/dfprop/lastafluteMap.dfprop`
    - OpenSearch Analysis: `src/main/resources/fess_indices/fess.json`
    - LastaFlute Documentation: https://lastaflute.org/
    
    ## Summary Checklist
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

    import org.codelibs.core.zip.ZipInputStreamUtil;
    
    /**
     * Utility for traversing collections of classes and resources on the file system or inside JAR files.
     * <p>
     * Target directories on the file system or JAR files are provided as {@link URL}. The appropriate {@link Traverser} is returned depending on the protocol of the URL, and you can traverse classes and resources by calling its methods.
     * </p>
     * <p>
     * Supported protocols:
     * </p>
     * <ul>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         * Service for managing URL queues during crawling.
         */
        @Resource
        protected UrlQueueService<UrlQueue<?>> urlQueueService;
    
        /**
         * Service for managing access result data.
         */
        @Resource
        protected DataService<AccessResult<?>> dataService;
    
        /**
         * Filter for URLs to control which URLs are crawled.
         */
        @Resource
        protected UrlFilter urlFilter;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

    import org.codelibs.fess.crawler.exception.ExtractException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class to verify proper resource management in Extractor implementations.
     * This test ensures that resources are properly closed even when exceptions occur.
     */
    public class ExtractorResourceManagementTest extends PlainTestCase {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

        void testTryWithResources() {
            // When & Then
            assertDoesNotThrow(() -> {
                try (EmptyIterator iterator = new EmptyIterator()) {
                    assertFalse(iterator.hasNext(), "Iterator should be empty in try-with-resources");
                    assertNull(iterator.next(), "Iterator should return null in try-with-resources");
                } catch (CIFSException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ResourceUtil.java

    import jakarta.servlet.ServletContext;
    
    /**
     * Utility class for accessing various resource paths and files in the Fess application.
     * This class provides methods to retrieve paths for configuration files, templates, dictionaries,
     * thumbnails, plugins, and other resources required by the Fess search engine.
     * It supports both regular deployment and Docker container environments.
     *
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            try {
                final Enumeration<java.net.URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final java.net.URL resource = resources.nextElement();
                    logger.debug("Loading resource: url={}", resource);
                    final URI resourceUri;
                    try {
                        resourceUri = resource.toURI();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
                authRef = auth;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top