Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getThumbnailFile (0.76 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
        // Test getThumbnailFile with blank path
        public void test_getThumbnailFile_blankPath() {
            Map<String, Object> docMap = new HashMap<>();
            // No _id field, so docid will be null
    
            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        /**
         * Gets the thumbnail file for a document if it exists.
         *
         * @param docMap the document data map
         * @return the thumbnail file or null if not found
         */
        public File getThumbnailFile(final Map<String, Object> docMap) {
            final String thumbnailPath = getImageFilename(docMap);
            if (StringUtil.isNotBlank(thumbnailPath)) {
                final File file = new File(baseDir, thumbnailPath);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top