Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for outputFile (0.1 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

         *
         * @param thumbnailId the ID of the thumbnail to generate
         * @param outputFile the output file where the thumbnail should be saved
         * @return false always, as this generator does not create thumbnails
         */
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        /**
         * Destroys this generator and releases any resources.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 66);
    
                imagePath = "thumbnail/600x400.jpg";
                try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 66);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testUrlToFile() throws Exception {
            int result = copy(url, outputFile);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        public void test_generate() {
            // Test generate method is called correctly
            generator = new TestThumbnailGenerator();
            File outputFile = new File("test.jpg");
    
            assertFalse(generator.isGenerateCalled());
            assertTrue(generator.generate("id123", outputFile));
            assertTrue(generator.isGenerateCalled());
        }
    
        public void test_destroy() {
            // Test destroy method is called correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test that generate always returns false
            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
            assertFalse(emptyGenerator.generate("thumbnailId", null));
            assertFalse(emptyGenerator.generate(null, null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/resources/fess_thumbnail.xml

    		<property name="name">"msofficeThumbnailGenerator"</property>
    		<property name="commandList">
    			["${path}/generate-thumbnail",
    			"msoffice",
    			"${url}",
    			"${outputFile}"]
    		</property>
    		<property name="generatorList">
    			["${path}/generate-thumbnail"]
    		</property>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Oct 11 21:34:52 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         *
         * @param thumbnailId the unique identifier for the thumbnail
         * @param outputFile the file where the generated thumbnail will be saved
         * @return true if the thumbnail was successfully generated, false otherwise
         */
        boolean generate(String thumbnailId, File outputFile);
    
        /**
         * Checks if this generator can handle the given document.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    ) {
      private val testResources = projectRoot / "okhttp/src/jvmTest/resources"
      private val publicSuffixListDotDat = testResources / "okhttp3/internal/publicsuffix/public_suffix_list.dat"
      private val outputFile = testResources / PUBLIC_SUFFIX_RESOURCE
    
      val request = Request("https://publicsuffix.org/list/public_suffix_list.dat".toHttpUrl())
    
      suspend fun import() {
        check(fileSystem.metadata(testResources).isDirectory)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/assemblies/files/generate-thumbnail

        echo "pdftoppm does not work."
        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top