Class OfficeAppHandler
java.lang.Object
org.gcube.data.access.storagehub.handlers.content.OfficeAppHandler
- All Implemented Interfaces:
ContentHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.common.storagehub.model.items.GenericFileItemorg.gcube.common.storagehub.model.items.nodes.ContentvoidinitiliseSpecificContent(InputStream is, String filename, String mimeType, long size) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gcube.data.access.storagehub.handlers.content.ContentHandler
initiliseSpecificContent
-
Constructor Details
-
OfficeAppHandler
public OfficeAppHandler()
-
-
Method Details
-
requiresInputStream
public boolean requiresInputStream()- Specified by:
requiresInputStreamin interfaceContentHandler
-
initiliseSpecificContent
public void initiliseSpecificContent(InputStream is, String filename, String mimeType, long size) throws Exception - Specified by:
initiliseSpecificContentin interfaceContentHandler- Throws:
Exception
-
getContent
public org.gcube.common.storagehub.model.items.nodes.Content getContent()- Specified by:
getContentin interfaceContentHandler
-
buildItem
public org.gcube.common.storagehub.model.items.GenericFileItem buildItem(String name, String description, String login) - Specified by:
buildItemin interfaceContentHandler
-