Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for matching (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

         */
        public PasswordBasedExtractor() {
            super();
        }
    
        /**
         * Adds a password for files matching the given regular expression pattern.
         * @param regex the regular expression pattern to match against URLs or resource names
         * @param password the password to use for matching files
         */
        public void addPassword(final String regex, final String password) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        /**
         * Returns the most specific directive matching the given user agent.
         * The method finds the longest matching user agent pattern in the directives,
         * excluding the general "*" pattern which matches all bots.
         *
         * @param userAgent the user agent string to match against directives,
         *                 can be null (treated as empty string)
         * @return the most specific matching directive, or null if no directive matches
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

                authenticationList.add(auth);
            }
        }
    
        /**
         * Retrieves an FtpAuthentication object that matches the given path.
         * @param path The path to match.
         * @return The matching FtpAuthentication object, or null if no match is found.
         */
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractor.java

         * This pattern is utilized by the extractor to identify and process XML elements.
         *
         * @return the {@link Pattern} instance for XML tag matching
         */
        @Override
        protected Pattern getTagPattern() {
            return xmlTagPattern;
        }
    
        /**
         * Returns the XML encoding pattern.
         * @return The XML encoding pattern.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

            * whose key is a prefix of the given path. If a matching entry is found,
            * the corresponding SmbAuthentication object is returned.
            * </p>
            *
            * @param path The path for which to retrieve the SmbAuthentication.
            *             If null, the method returns null.
            * @return The SmbAuthentication associated with the path, or null if no
            *         matching authentication is found or if the path is null.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            TestRule rule = new TestRule("rule1", true);
    
            ruleManager.addRule(rule);
    
            assertFalse(ruleManager.hasRule(null));
        }
    
        /**
         * Test getRule with matching rule
         */
        public void test_getRule_matching() {
            TestRule rule1 = new TestRule("rule1", false);
            TestRule rule2 = new TestRule("rule2", true);
            TestRule rule3 = new TestRule("rule3", false);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            conditionalRule.setMimeTypePattern("text/.*");
    
            // Test matching
            ResponseData responseData1 = new ResponseData();
            responseData1.setUrl("http://www.example.com/page");
            responseData1.setMimeType("text/html");
            assertTrue(conditionalRule.match(responseData1));
    
            // Test non-matching URL
            ResponseData responseData2 = new ResponseData();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

            authMap.put(auth.getPathPrefix(), auth);
        }
    
        /**
         * Retrieves an SMB authentication configuration that matches the given path.
         * @param path The path to match.
         * @return The matching SmbAuthentication object, or null if no match is found.
         */
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            this.metaCharsetPattern = metaCharsetPattern;
        }
    
        /**
         * Gets the pattern used for matching HTML tags.
         *
         * @return the HTML tag pattern
         */
        public Pattern getHtmlTagPattern() {
            return htmlTagPattern;
        }
    
        /**
         * Sets the pattern used for matching HTML tags.
         *
         * @param htmlTagPattern the HTML tag pattern to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

         */
        /**
         * Gets the first rule that matches the given response data.
         * @param responseData the response data to match against
         * @return the first matching rule, or null if no rule matches
         */
        @Override
        public Rule getRule(final ResponseData responseData) {
            for (final Rule rule : ruleList) {
                if (rule.match(responseData)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top