Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for initialize (0.49 sec)

  1. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

     *
     */
    public class LastaCrawlerContainer implements CrawlerContainer {
    
        /**
         * Creates a new instance of LastaCrawlerContainer.
         */
        public LastaCrawlerContainer() {
            initialize();
        }
    
        @Override
        public <T> T getComponent(final String name) {
            return SingletonLaContainerFactory.getContainer().getComponent(name);
        }
    
        @Override
        public boolean available() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

        void destroy();
    
        /**
         * Initializes the CrawlerContainer by setting the system property
         * "java.protocol.handler.pkgs" to include the package "org.codelibs.fess.net.protocol".
         * If the property is not already set, it will be initialized with this package.
         * If the property is set but does not contain this package, the package will be appended.
         */
        default void initialize() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java

     */
    package org.codelibs.fess.crawler.filter;
    
    /**
     * UrlFilter checks if a given url is a target one.
     *
     * @author shinsuke
     *
     */
    public interface UrlFilter {
    
        /**
         * Initialize a url filter by sessionId.
         *
         * @param sessionId Session ID
         */
        void init(String sessionId);
    
        /**
         * Check if a given url is a target.
         *
         * @param url URL
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not initialize MimeTypeHelper.", e);
            }
        }
    
        @Override
        public String getContentType(final InputStream is, final String filename) {
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, filename);
            return getContentType(is, params);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

     * This class provides methods to handle authentication details such as
     * authentication scope, credentials, and authentication scheme.
     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
     * methods to access and modify them.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     * <pre>
     * {@code
     * AuthScope authScope = new AuthScope("example.com", 80);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        private UrlFilter urlFilter;
        private StandardCrawlerContainer container;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            // Initialize container with necessary components
            container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)
                    .singleton("urlFilterService", UrlFilterServiceImpl.class)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

     * It uses a {@link UrlFilterService} to manage the URL filtering rules.
     * The class supports caching of include and exclude patterns for scenarios where a session ID is not available.
     * It also provides methods to initialize the filter with a session ID, clear the filter,
     * match a URL against the defined patterns, and process a URL to add include or exclude patterns based on predefined filtering patterns.
     *
     */
    /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * It handles file access, directory listing, and access control entries (ACEs) processing.
     * </p>
     *
     * <p>
     * The class provides methods to:
     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
     *   <li>Retrieve content and metadata from SMB files.</li>
     *   <li>Process access control entries to determine allowed and denied SIDs (Security Identifiers).</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

        /**
         * Constructs a new ApiExtractor.
         */
        public ApiExtractor() {
            // NOP
        }
    
        /**
         * Initializes the API extractor, setting up the HTTP client and configuration.
         * This method is called after construction to initialize the HTTP client with
         * configured timeouts, authentication, and request headers.
         */
        @PostConstruct
        public void init() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

        protected void setUp() throws Exception {
            super.setUp();
    
            // Reset counters before each test
            TestComponent.resetCounter();
            SingletonTestComponent.resetInstanceCount();
    
            // Initialize container with test components
            container = new StandardCrawlerContainer().prototype("testComponent", TestComponent.class)
                    .singleton("singletonComponent", SingletonTestComponent.class)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top