Boolean function ( AbstractFile arg0 ) { return Optional . ofNullable ( hasSupportedMimeType ( arg0 ) ) . orElseGet ( ( ) -> { return supportedExtensions . contains ( getFileExtension ( arg0 ) ) || ImageUtils . isJpegFileHeader ( arg0 ) ; } ) ; }
is the given file suported by image analyzer : ie , does it have a supported mime type . if no mime type is found , does it have a supported extension or a jpeg header . concode_field_sep Set<String> supportedMimes concode_elem_sep String MODULE_NAME concode_elem_sep Set<String> imageMimes concode_elem_sep Set<String> imageExtensions concode_elem_sep Logger LOGGER concode_elem_sep Set<String> videoExtensions concode_elem_sep Set<String> videoMimes concode_elem_sep Set<String> supportedExtensions concode_field_sep Set<String> getSupportedMimes concode_elem_sep boolean isEnabledforCase concode_elem_sep boolean isSupportedAndNotKnown concode_elem_sep boolean isVideoFile concode_elem_sep String getFileExtension concode_elem_sep Set<String> getAllSupportedExtensions concode_elem_sep boolean isCaseStale concode_elem_sep Boolean hasSupportedMimeType