Interface Image
-
- All Superinterfaces:
File
- All Known Subinterfaces:
ImageFileItem
- All Known Implementing Classes:
ImageFile
public interface Image extends File
The Interface Image.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jun 15, 2018
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LonggetHeight()The image height.InputStreamgetThumbnail()The image thumbnail.LonggetThumbnailHeight()The image thumbnail height.LonggetThumbnailWidth()The image thumbanil width.LonggetWidth()The image width.-
Methods inherited from interface org.gcube.common.storagehubwrapper.shared.tohl.items.File
getFileItemType, getMimeType, getSize
-
-
-
-
Method Detail
-
getWidth
Long getWidth()
The image width.- Returns:
- the width.
-
getHeight
Long getHeight()
The image height.- Returns:
- the height.
-
getThumbnail
InputStream getThumbnail() throws InternalErrorException
The image thumbnail.- Returns:
- the thumbnail.
- Throws:
InternalErrorException- if an internal error occurs.
-
getThumbnailWidth
Long getThumbnailWidth()
The image thumbanil width.- Returns:
- the thumbnail width.
-
getThumbnailHeight
Long getThumbnailHeight()
The image thumbnail height.- Returns:
- the thumbnail height.
-
-