Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for directed (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

         * @return the detected content type
         */
        String getContentType(InputStream is, String filename);
    
        /**
         * Determines the content type of the given input stream using the provided parameters.
         * @param is the input stream to analyze
         * @param params the parameters containing additional information like filename
         * @return the detected content type
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

    /**
     * {@link ExtractorBuilder} is a builder class for creating and configuring an {@link ExtractData} object.
     * It encapsulates the process of extracting data from an input stream using a specified or detected extractor.
     * The builder allows setting parameters such as MIME type, filename, extractor name, maximum content length,
     * and cache file size to optimize the extraction process.
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

        protected MimeTypes mimeTypes;
    
        /** Whether to use the filename for MIME type detection. */
        protected boolean useFilename = false;
    
        /** Whether to use the filename for MIME type detection when the stream is detected as octet-stream. */
        protected boolean useFilenameOnOctetStream = true;
    
        /**
         * Creates a new MimeTypeHelperImpl instance.
         * Initializes the MimeTypes instance using the default configuration.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            // Test direct field access (protected fields)
            TestAbstractRule rule = new TestAbstractRule();
    
            // Direct field assignment
            rule.ruleId = "directFieldAccess";
            TestResponseProcessor processor = new TestResponseProcessor();
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            return new ExtractData(extractString(content));
        }
    
        /**
         * Detects the encoding of the input stream.
         * @param bis The buffered input stream.
         * @return The detected encoding.
         */
        protected String getEncoding(final BufferedInputStream bis) {
            final byte[] b = new byte[preloadSizeForCharset];
            try {
                bis.mark(preloadSizeForCharset);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    }
    
                    return extractData;
                } catch (final TikaException e) {
                    if (e.getMessage().indexOf("bomb") >= 0) {
                        throw new ExtractException("Zip bomb detected.", e);
                    }
                    final Throwable cause = e.getCause();
                    if (cause instanceof SAXException) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
        public void testBuildWithCustomSettings() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * It also provides methods to add custom features and properties to the {@link DOMParser}.
     * </p>
     * <p>
     * The encoding of the HTML document is automatically detected using a regular expression that matches the charset attribute in the meta tag.
     * </p>
     *
     */
    public class HtmlXpathExtractor extends AbstractXmlExtractor {
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            TestTransformer transformer = new TestTransformer();
    
            // Direct field access (simulating subclass behavior)
            transformer.name = "directFieldAccess";
            assertEquals("directFieldAccess", transformer.getName());
    
            // Setter should update the field
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
            return true;
        }
    
        /**
         * Loads and detects the character set from the input stream.
         *
         * @param inputStream the input stream to read from
         * @return the detected character set name, or null if not found
         * @throws CrawlingAccessException if an error occurs while reading the content
         */
        protected String loadCharset(final InputStream inputStream) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top