Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getImageMimeType (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            }
    
            return asStream(form.docId).contentType(getImageMimeType(thumbnailFile)).stream(out -> {
                try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(thumbnailFile))) {
                    out.write(in);
                }
            });
        }
    
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top