Interface IElFinderImageSizeCalculator<Entry extends IFileSystemEntry<?>>

Type Parameters:
Entry - Common super type of all file system entries.

public interface IElFinderImageSizeCalculator<Entry extends IFileSystemEntry<?>>
Extracts the size of an image, used by FileSystemElFinderConnectorConfig.
Since:
8.3.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • extractSize

      ImageSize extractSize(Entry entry, ICommonFileSystemManager<Entry> fileSystemManager) throws IOException
      Extracts the size of the given image from the file meta.
      Parameters:
      entry - The file system entry.
      fileSystemManager - The file system manager for the entries.
      Returns:
      The size of the image, or null if the image size could not be extracted.
      Throws:
      IOException - If an I/O error occurs while extracting the image size.