Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for normale (0.18 sec)

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

        /**
         * PDF config file path.
         */
        public static final String TIKA_PDF_CONFIG = "tika.pdf.config";
    
        /**
         * A parameter key to normalize a text.
         */
        public static final String NORMALIZE_TEXT = "normalize_text";
    
        private static final String FILE_PASSWORD = "fess.file.password";
    
        /**
         * Output encoding.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

            // Default constructor
        }
    
        /**
         * Normalizes an encoding string to its preferred form.
         *
         * @param enc the encoding string to normalize
         * @return the normalized encoding or the default encoding if the input is blank
         */
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

             * This method ensures the URL is in a consistent format for FTP operations.
             *
             * @param s The URL string to normalize
             * @return The normalized URL string
             */
            protected String normalize(final String s) {
                if (s == null) {
                    return null;
                }
                String url = s.replaceAll("/+", "/").replace("ftp:/", "ftp://");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     * It uses the Apache Tika library to detect the MIME type.
     *
     * <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>
    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/util/TextUtil.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Utility class for text normalization and processing.
     *
     * This class provides methods to normalize text by reading characters from a provided Reader
     * and processing them according to specific rules. The main functionality is encapsulated
     * within the nested {@link TextNormalizeContext} class.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertEquals("2012-05-18T22:45:00Z", extractData.getValues("dcterms:modified")[0]);
            assertEquals("3", extractData.getValues("meta:character-count")[0]);
            assertEquals("Normal", extractData.getValues("extended-properties:Template")[0]);
            assertEquals("たいとる", extractData.getValues("dc:title")[0]);
            assertEquals("3000000000", extractData.getValues("extended-properties:TotalTime")[0]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         *
         * @param encoding the encoding name to normalize
         * @return the normalized encoding name
         */
        protected String normalizeEncoding(final String encoding) {
            try {
                final EncodingHelper encodingHelper = crawlerContainer.getComponent("encodingHelper");
                return encodingHelper.normalize(encoding);
            } catch (final Exception e) {
                // NOP
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            TestTransformer transformer = new TestTransformer();
            assertNotNull(transformer);
            assertNull(transformer.getName());
        }
    
        /**
         * Test getName and setName with normal values
         */
        public void test_name_getterSetter() {
            // Initial state
            assertNull(testTransformer.getName());
    
            // Set name
            testTransformer.setName("testTransformer");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            ContentTransformer transformer = new ContentTransformer("workflowTransformer");
            transformer.addTransformationRule("<[^>]+>", ""); // Remove HTML tags
            transformer.addTransformationRule("\\s+", " "); // Normalize whitespace
    
            // Simulate crawling response
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/page.html");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            try {
                URI uri = new URI(url);
                if (StringUtil.isNotEmpty(location)) {
                    uri = uri.resolve(location.replace(" ", "%20"));
                }
                return uri.normalize().toASCIIString();
            } catch (URISyntaxException e) {
                throw new CrawlingAccessException(e);
            }
        }
    
        /**
         * Sets the connection timeout in milliseconds.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top