Package de.xima.fc.gui.elfinder
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 byFileSystemElFinderConnectorConfig
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageSize
extractSize(Entry entry, ICommonFileSystemManager<Entry> fileSystemManager)
Extracts the size of the given image from the file meta.
-
-
-
Method Detail
-
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.
-
-