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 
 | 
InputStream | 
getConvertedContent(String documentId)
Returns converted content for a given document work object. 
 | 
ContentMetadata | 
getConvertedContentMetadata(String documentId)
Returns converted  
ContentMetadata for the given document work object reference | 
Pair<ContentMetadata,InputStream> | 
getConvertedContentMetadataAndInputStream(String documentId)
Returns converted content for the given document identifier 
 | 
ContentReference | 
getConvertedContentReference(String documentId)
Returns converted  
ContentReference for the given document work object reference | 
boolean | 
isConvertible(WorkObject workObject)
Is given workObject convertible by this service 
 | 
void | 
shutdown()
Cleans up all temporary resources 
 | 
InputStream getConvertedContent(String documentId)
Returns converted content for a given document work object.
documentId - the document identifierPair<ContentMetadata,InputStream> getConvertedContentMetadataAndInputStream(String documentId)
Returns converted content for the given document identifier
documentId - document identifierContentMetadata and converted content InputStreamContentReference getConvertedContentReference(String documentId)
Returns converted ContentReference for the given document work object reference
documentId - document identifierContentReferenceContentMetadata getConvertedContentMetadata(String documentId)
Returns converted ContentMetadata for the given document work object reference
documentId - document identifierContentMetadataboolean isConvertible(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.