Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getThumbnailFile (0.16 seconds)

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

            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
        // Test getThumbnailFile with blank path
        @Test
        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);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (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);
    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)
Back to Top