Class FileItem
- java.lang.Object
-
- org.gcube.common.storagehubwrapper.shared.tohl.impl.WorkspaceItem
-
- org.gcube.common.storagehubwrapper.shared.tohl.impl.FileItem
-
- All Implemented Interfaces:
Serializable,File,FileItem,WorkspaceItem
- Direct Known Subclasses:
GcubeItem,ImageFile,PDFFile,URLFileItem
public class FileItem extends WorkspaceItem implements FileItem
The Class FileItem.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jun 21, 2018
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspaceVersiongetCurrentVersion()Get Current version.FileItemTypegetFileItemType()Gets the folder item type.StringgetMimeType()The folder myme type.LonggetSize()Gets the size.-
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.WorkspaceItem
getAccounting, getCreationTime, getDescription, getId, getLastModificationTime, getLastModifiedBy, getName, getOwner, getParentId, getPath, getPropertyMap, getTitle, getType, isFolder, isHidden, isRoot, isShared, isTrashed
-
-
-
-
Method Detail
-
getFileItemType
public FileItemType getFileItemType()
Description copied from interface:FileGets the folder item type.- Specified by:
getFileItemTypein interfaceFile- Returns:
- the folder item type
-
getMimeType
public String getMimeType()
Description copied from interface:FileThe folder myme type.- Specified by:
getMimeTypein interfaceFile- Returns:
- the myme type
-
getCurrentVersion
public WorkspaceVersion getCurrentVersion()
Description copied from interface:FileItemGet Current version.- Specified by:
getCurrentVersionin interfaceFileItem- Returns:
- the current version
-
-