public interface DocumentContentConverterService
Provides content conversion support for documents.
| Modifier and Type | Method and Description |
|---|---|
void |
evictCachedFile(String globalId)
Evicts cached file for given object
|
Set<com.google.common.net.MediaType> |
getAcceptableMediaTypes()
Returns set of supported media types, which is converter able to convert
|
org.springframework.core.io.Resource |
getConvertedContent(String documentId)
Returns converted content for a given document work object.
|
com.edorasware.commons.core.content.ContentMetadata |
getConvertedContentMetadata(String documentId)
Returns converted
ContentMetadata for the given document work object reference |
com.edorasware.commons.core.util.fp.Pair<com.edorasware.commons.core.content.ContentMetadata,org.springframework.core.io.Resource> |
getConvertedContentMetadataAndInputStream(String documentId)
Returns converted content for the given document identifier
|
com.edorasware.commons.core.content.ContentReference |
getConvertedContentReference(String documentId)
Returns converted
ContentReference for the given document work object reference |
boolean |
isConvertible(com.edorasware.api.workobject.WorkObject workObject)
Is given workObject convertible by this service
|
void |
shutdown()
Cleans up all temporary resources
|
org.springframework.core.io.Resource getConvertedContent(String documentId)
Returns converted content for a given document work object.
documentId - the document identifiercom.edorasware.commons.core.util.fp.Pair<com.edorasware.commons.core.content.ContentMetadata,org.springframework.core.io.Resource> getConvertedContentMetadataAndInputStream(String documentId)
Returns converted content for the given document identifier
documentId - document identifierContentMetadata and converted content InputStreamcom.edorasware.commons.core.content.ContentReference getConvertedContentReference(String documentId)
Returns converted ContentReference for the given document work object reference
documentId - document identifierContentReferencecom.edorasware.commons.core.content.ContentMetadata getConvertedContentMetadata(String documentId)
Returns converted ContentMetadata for the given document work object reference
documentId - document identifierContentMetadataboolean isConvertible(com.edorasware.api.workobject.WorkObject workObject)
Is given workObject convertible by this service
workObject - to convertvoid shutdown()
Cleans up all temporary resources
void evictCachedFile(String globalId)
Evicts cached file for given object
globalId - object identifier for which cache is evictedSet<com.google.common.net.MediaType> getAcceptableMediaTypes()
Returns set of supported media types, which is converter able to convert
MediaTypeCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.