Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for special (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

     * Utility class for XML-related operations.
     *
     * This class provides methods to escape special characters in XML strings,
     * strip invalid XML characters, and parse XML content into a map of data.
     *
     * <p>
     * The class is final and cannot be instantiated.
     * </p>
     *
     * <h2>Methods:</h2>
     * <ul>
     *   <li>{@link #escapeXml(String)}: Escapes special characters in an XML string.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertNotNull(urlFilter);
        }
    
        /**
         * Test special characters in URL patterns
         */
        public void test_specialCharactersInPatterns() {
            String sessionId = "test-session-018";
            urlFilter.init(sessionId);
    
            // Test patterns with special regex characters
            urlFilter.addInclude("https://example\\.com/\\?.*");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java

        /**
         * Checks if the given character is a valid URL character.
         *
         * Valid URL characters include:
         * - Lowercase letters (a-z)
         * - Uppercase letters (A-Z)
         * - Digits (0-9)
         * - Special characters: . - * _ : / + % = &amp; ? # [ ] @ ~ ! $ ' ( ) , ;
         *
         * @param c the character to check
         * @return {@code true} if the character is a valid URL character, {@code false} otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.3K bytes
    - Viewed (1)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            }
            testRule.setRuleId(longId.toString());
            assertEquals(longId.toString(), testRule.getRuleId());
    
            // Special characters in rule ID
            testRule.setRuleId("rule-id_with.special@chars#123");
            assertEquals("rule-id_with.special@chars#123", testRule.getRuleId());
    
            // Unicode characters
            testRule.setRuleId("ルール日本語");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test special characters
            String specialText = "テスト@#$%^&*()";
            String specialId = SuggestUtil.createSuggestTextId(specialText);
            assertNotNull(specialId);
            assertEquals(Base64.getEncoder().encodeToString(specialText.getBytes(CoreLibConstants.CHARSET_UTF_8)), specialId);
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     *
     * <p>
     * This class provides methods to:
     * </p>
     * <ul>
     *   <li>Detect the MIME type based on the input stream and filename.</li>
     *   <li>Normalize the filename to handle special characters.</li>
     *   <li>Configure whether to use the filename for MIME type detection.</li>
     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

     * FileTransformer stores the content of a crawled resource as a file on the file system.
     * It extends HtmlTransformer and provides functionality to:
     * </p>
     * <ul>
     *     <li>Specify a base directory for storing files.</li>
     *     <li>Generate file paths from URLs, replacing special characters.</li>
     *     <li>Handle duplicated file paths by appending a counter.</li>
     *     <li>Store the file path in the result data.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithSpecialCharacters() {
            // Test analyze with special characters
            String text = "******@****.*** #hashtag $100";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(results);
        }
    
        @Test
        public void testConvertWithSpecialCharacters() throws IOException {
            // Test convert with special characters
            String text = "test@#$%123";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test name with special characters
         */
        public void test_name_specialCharacters() {
            // Test with spaces
            testTransformer.setName("name with spaces");
            assertEquals("name with spaces", testTransformer.getName());
    
            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top