Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for PDF (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_add_overwrite() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
            fileTypeHelper.add("application/pdf", "document");
            assertEquals("document", fileTypeHelper.get("application/pdf"));
        }
    
        public void test_add_withNullMimetype() {
            fileTypeHelper.add(null, "test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

        }
    
        public void test_createTask_withValidParams() {
            // Test task creation with valid parameters
            String path = "/path/to/document.pdf";
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", "application/pdf");
            docMap.put("title", "Test Document");
    
            Tuple3<String, String, String> task = thumbnailGenerator.createTask(path, docMap);
            assertNotNull(task);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            testFileTypeHelper.setTypes(new String[] { "pdf", "doc" });
    
            // Add existing file type query
            facetQueryView.addQuery("existing_pdf", "filetype:pdf");
            facetQueryView.addQuery("label1", "filetype:html");
    
            facetQueryView.init();
    
            Map<String, String> queryMap = facetQueryView.getQueryMap();
    
            // Should not duplicate existing pdf query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/assemblies/files/generate-thumbnail

      HOME=/var/lib/fess
    fi
    
    if [[ x"${cmd_type}" = "xmsoffice" ]] ; then
      check_command convert
      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.$$
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("filetype:\"pdf\"", getAsQuery(Collections.singletonMap(k, new String[] { "pdf" })));
            assertEquals("filetype:\"doc\"", getAsQuery(Collections.singletonMap(k, new String[] { " doc " })));
            assertEquals("filetype:\"pdf\" filetype:\"doc\"", getAsQuery(Collections.singletonMap(k, new String[] { "pdf", "doc" })));
        }
    
        public void test_conditions_sitesearch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          |Content-Type: application/pdf; charset=utf-8
          |
          |Jesse’s Resumé
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody
            .Builder("AaB03x")
            .setType(MultipartBody.FORM)
            .addFormDataPart(
              "attachment",
              "resumé.pdf",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/resources/crawler/rule.xml

    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>"mimeType"</arg>
    			<!-- Supported MIME type -->
    			<arg>
      "(application/xml"
    + "|application/xhtml+xml"
    + "|application/rdf+xml"
    + "|application/pdf"
    + "|application/x-freemind"
    + "|text/xml"
    + "|text/xml-external-parsed-entity)"
    			</arg>
    		</postConstruct>
    	</component>
    
    	<component name="fsFileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" >
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            }
        }
    
        /**
         * Adds or updates a MIME type to file type mapping.
         *
         * @param mimetype the MIME type to map (e.g., "application/pdf")
         * @param filetype the file type classification (e.g., "pdf")
         */
        public void add(final String mimetype, final String filetype) {
            mimetypeMap.put(mimetype, filetype);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            DataStoreParams paramMap = new DataStoreParams();
            paramMap.put("url_exclude_pattern", ".*\\.pdf$");
    
            boolean result1 = indexUpdateCallback.isUrlCrawlable(paramMap, "http://example.com/test.html");
            boolean result2 = indexUpdateCallback.isUrlCrawlable(paramMap, "http://example.com/test.pdf");
    
            assertTrue(result1);
            assertFalse(result2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. 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>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Oct 11 21:34:52 UTC 2019
    - 5.4K bytes
    - Viewed (0)
Back to top