- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for outputFile (0.14 sec)
-
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
for (int i = 0; i < 5; i++) { String thumbnailId = "test-thumbnail-" + i; File outputFile = new File(tempDir.toFile(), "thumbnail-" + i + ".png"); assertTrue(thumbnailGenerator.generate(thumbnailId, outputFile)); assertTrue(outputFile.exists()); } } public void test_isTarget_withVariousMimeTypes() { // Test with various MIME types
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
final File outputFile = File.createTempFile("command_generator", ".out"); try { assertTrue(outputFile.exists()); generator.setCommandList(Collections.singletonList("invalid_command_for_test")); assertTrue(generator.generate("test_id", outputFile)); } finally { outputFile.delete(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
updateThumbnailField(thumbnailId, StringUtil.EMPTY); if (outputFile.exists() && !outputFile.delete()) { logger.warn("Failed to delete {}", outputFile.getAbsolutePath()); } } } return outputFile.exists(); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.4K bytes - Viewed (0) -
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) -
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) -
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) -
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)