- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 61 for THUMBNAIL (0.05 seconds)
-
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
destoryTimer.cancel(); destoryTimer = null; } /** * Generates a thumbnail for the given ID and saves it to the output file. * @param thumbnailId The ID of the thumbnail to generate. * @param outputFile The file where the thumbnail will be saved. * @return True if thumbnail generation was successful, false otherwise. */ @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.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 */ @Override public boolean generate(final String thumbnailId, final File outputFile) { if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
// Test successful thumbnail generation String thumbnailId = "test-thumbnail-001"; assertTrue(thumbnailGenerator.generate(thumbnailId, tempOutputFile)); assertTrue(tempOutputFile.exists()); } @Test public void test_generate_withNullThumbnailId() { // Test generation with null thumbnail IDCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
svgDocMap.put("thumbnail", "http://example.com/image.svg"); svgDocMap.put("mimetype", "image/svg+xml"); assertTrue("SVG MIME type should be target", generator.isTarget(svgDocMap)); // Test case 2: Different MIME type should not match Map<String, Object> pngDocMap = new HashMap<>(); pngDocMap.put("thumbnail", "http://example.com/image.png");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
/** * Base directory for storing thumbnail files. */ protected File baseDir; /** * List of available thumbnail generators. */ protected final List<ThumbnailGenerator> generatorList = new ArrayList<>(); /** * Queue for thumbnail generation tasks containing URL, content, and path tuples. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
src/main/resources/fess_thumbnail.xml
<component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator"> <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">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
String imagePath = "thumbnail/600x400.png"; try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) { generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 66); imagePath = "thumbnail/600x400.gif";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
Exception middleCause = new RuntimeException("Processing failed", innerCause); ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause); assertEquals("Thumbnail generation error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals("Processing failed", exception.getCause().getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk
{"index":{"_index":"fess_config.scheduled_job","_id":"thumbnail_generate"}}Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
/** * Command-line options for the thumbnail generator. */ protected static class Options { /** * Session ID for filtering thumbnail generation. */ @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID") protected String sessionId; /** * Name identifier for the thumbnail generation task. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.4K bytes - Click Count (0)