Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 68 for PDF$ (0.02 seconds)

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

    /**
     * PdfExtractor extracts text content from PDF files using Apache PDFBox.
     * It supports password-protected PDFs and can extract embedded documents and annotations.
     *
     * <p>The extractor runs text extraction in a separate thread with a configurable timeout
     * to prevent hanging on problematic PDF files. It also extracts metadata from the PDF
     * document and includes it in the extraction result.
     *
     * <p>Features:
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            data.putValue(ExtractData.RESOURCE_NAME_KEY, "test.pdf");
            data.putValue(ExtractData.URL, "https://example.com/test.pdf");
            data.putValues(ExtractData.FILE_PASSWORDS, new String[] { "pass1", "pass2" });
    
            assertEquals("test.pdf", data.getValues(ExtractData.RESOURCE_NAME_KEY)[0]);
            assertEquals("https://example.com/test.pdf", data.getValues(ExtractData.URL)[0]);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, "test-document.pdf");
    
            final ExtractData result = filenameExtractor.getText(in, params);
    
            assertNotNull(result);
            assertEquals("test-document.pdf", result.getContent());
        }
    
        /**
         * Test extraction with null parameters map.
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            }
    
            // Test WildcardBot - wildcard patterns
            // Disallow: /*.pdf$ - should block .pdf files but not .pdf with query params
            assertFalse(robotsTxt.allows("/document.pdf", "WildcardBot"));
            assertFalse(robotsTxt.allows("/files/report.pdf", "WildcardBot"));
            assertTrue(robotsTxt.allows("/document.pdf?download=true", "WildcardBot")); // $ means exact end
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. cmd/erasure-sets_test.go

    	testCases := []struct {
    		objectName string
    		sipHash    int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", 37},
    		{"The Shining Script <v1>.pdf", 38},
    		{"Cost Benefit Analysis (2009-2010).pptx", 59},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. src/main/resources/fess_thumbnail.xml

    		<property name="commandList">
    			["${path}/generate-thumbnail",
    			"pdf",
    			"${url}",
    			"${outputFile}"]
    		</property>
    		<property name="generatorList">
    			["${path}/generate-thumbnail"]
    		</property>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/pdf"
    			</arg>
    		</postConstruct>
    		<postConstruct name="register"></postConstruct>
    	</component>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

            // Presentation Formats
            extensionMap.put("odp", "pdf");
            extensionMap.put("otp", "pdf");
            extensionMap.put("sxi", "pdf");
            extensionMap.put("ppt", "pdf");
            extensionMap.put("pptx", "pdf");
            // Drawing Formats
            extensionMap.put("odg", "svg");
            extensionMap.put("otg", "svg");
    
            extractorMap.put("pdf", new PdfExtractor());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            String sessionId = "test-session-019";
            urlFilter.init(sessionId);
    
            urlFilter.addInclude(".*\\.PDF$");
    
            // Test case sensitivity
            assertFalse(urlFilter.match("https://example.com/document.pdf"));
            assertTrue(urlFilter.match("https://example.com/document.PDF"));
        }
    
        /**
         * Test very long URL handling
         */
        public void test_veryLongUrl() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. src/main/assemblies/files/generate-thumbnail

      if [[ -z "${im_cmd}" ]] ; then
        echo "ImageMagick (convert or magick) does not exist."
        exit 1
      fi
      check_command pdftoppm
      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt

    # Test robots.txt for wildcard (*) and end-of-path ($) support
    # Based on RFC 9309 specification
    
    # Test wildcard patterns
    User-agent: WildcardBot
    Disallow: /*.pdf$
    Disallow: /admin/*.php
    Disallow: /*/private/
    Allow: /public/*.html
    
    # Test end-of-path ($) patterns
    User-agent: EndPathBot
    Disallow: /fish$
    Disallow: /temp$
    Allow: /fishing
    
    # Test complex patterns
    User-agent: ComplexBot
    Disallow: /
    Allow: /$
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 14:03:41 GMT 2025
    - 910 bytes
    - Click Count (0)
Back to Top