Class ImageFile
- java.lang.Object
-
- org.gcube.common.storagehubwrapper.shared.tohl.impl.WorkspaceItem
-
- org.gcube.common.storagehubwrapper.shared.tohl.impl.FileItem
-
- org.gcube.common.storagehubwrapper.shared.tohl.impl.ImageFile
-
- All Implemented Interfaces:
Serializable,File,FileItem,Image,ImageFileItem,WorkspaceItem
public class ImageFile extends FileItem implements ImageFileItem
- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Jun 21, 2018
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageFile()
-
Method Summary
All Methods Instance Methods Concrete 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 class org.gcube.common.storagehubwrapper.shared.tohl.impl.FileItem
getCurrentVersion, getFileItemType, getMimeType, getSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.gcube.common.storagehubwrapper.shared.tohl.items.File
getFileItemType, getMimeType, getSize
-
Methods inherited from interface org.gcube.common.storagehubwrapper.shared.tohl.items.FileItem
getCurrentVersion
-
Methods inherited from interface org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItem
getAccounting, getCreationTime, getDescription, getId, getLastModificationTime, getLastModifiedBy, getName, getOwner, getParentId, getPath, getPropertyMap, getTitle, getType, isFolder, isHidden, isRoot, isShared, isTrashed
-
-
-
-
Method Detail
-
getThumbnail
public InputStream getThumbnail() throws InternalErrorException
Description copied from interface:ImageThe image thumbnail.- Specified by:
getThumbnailin interfaceImage- Returns:
- the thumbnail.
- Throws:
InternalErrorException- if an internal error occurs.
-
getThumbnailWidth
public Long getThumbnailWidth()
Description copied from interface:ImageThe image thumbanil width.- Specified by:
getThumbnailWidthin interfaceImage- Returns:
- the thumbnail width.
-
getThumbnailHeight
public Long getThumbnailHeight()
Description copied from interface:ImageThe image thumbnail height.- Specified by:
getThumbnailHeightin interfaceImage- Returns:
- the thumbnail height.
-
-