Class PdfHandler
java.lang.Object
org.gcube.data.access.storagehub.handlers.content.PdfHandler
- All Implemented Interfaces:
ContentHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.common.storagehub.model.items.PDFFileItemorg.gcube.common.storagehub.model.items.nodes.PDFContentvoidinitiliseSpecificContent(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
-
Field Details
-
NUMBER_OF_PAGES
- See Also:
-
PRODUCER
- See Also:
-
VERSION
- See Also:
-
AUTHOR
- See Also:
-
TITLE
- See Also:
-
-
Constructor Details
-
PdfHandler
public PdfHandler()
-
-
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.PDFContent getContent()- Specified by:
getContentin interfaceContentHandler
-
buildItem
public org.gcube.common.storagehub.model.items.PDFFileItem buildItem(String name, String description, String login) - Specified by:
buildItemin interfaceContentHandler
-