Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for SPECIAL (0.89 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

        public void test_isUrlChar_commonSpecialChars() {
            // Test common special characters
            assertTrue(CharUtil.isUrlChar('.'));
            assertTrue(CharUtil.isUrlChar('-'));
            assertTrue(CharUtil.isUrlChar('*'));
            assertTrue(CharUtil.isUrlChar('_'));
        }
    
        public void test_isUrlChar_urlSpecialChars() {
            // Test URL-specific special characters
            assertTrue(CharUtil.isUrlChar(':'));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        public void test_escapeXml_allSpecialChars() {
            // Test all special characters
            String input = "Test & < > \"quote\" 'apos'";
            String expected = "Test &amp; &lt; &gt; &quot;quote&quot; &apos;apos&apos;";
            assertEquals(expected, XmlUtil.escapeXml(input));
        }
    
        public void test_escapeXml_noSpecialChars() {
            // Test string without special characters
            String input = "Simple text without special characters";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         * The value is, e.g. 0 <br>
         * comment: <br>
         * one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000<br>
         * special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)<br>
         * The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testParseQueryWithSpecialCharacters() {
            // Test query with special characters
            String query = "test+query-search";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
            // Parser should handle special characters
        }
    
        @Test
        public void testGetTermQueryListWithNull() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            } catch (final CrawlerSystemException e) {
                assertEquals("The inputstream is null.", e.getMessage());
            }
        }
    
        /**
         * Test extraction with filename containing special characters.
         */
        public void test_getText_withSpecialCharactersInFilename() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
            final Map<String, String> params = new HashMap<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testEncodingSpecialCharacters() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Test encoding of special characters
            request.param("query", "hello world & more");
            request.param("special", "ñ€±");
    
            // Should not throw exception
            assertNotNull(request);
        }
    
        @Test
        public void testUnsupportedEncodingThrowsException() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

                assertTrue("Error message should contain 'text content'", message.contains("text content"));
            }
        }
    
        /**
         * Test extraction with special characters and control characters.
         */
        public void test_getText_withSpecialCharacters_handlesCorrectly() {
            final String specialContent = "Tab\there\nNewline\rCarriage return\0Null byte";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top