Interface AttachmentExtractedTextService
- All Known Implementing Classes:
AttachmentExtractedTextServiceImpl
public interface AttachmentExtractedTextService
Provide some api to check and get attachment extracted text
- Since:
- 9.2.7
-
Method Summary
Modifier and TypeMethodDescriptionextractedText
(ContentId contentId, ContentId attachmentId, long limit) boolean
hasExtractedText
(ContentId contentId, ContentId attachmentId)
-
Method Details
-
extractedText
Optional<String> extractedText(ContentId contentId, ContentId attachmentId, long limit) throws ServiceException - Parameters:
contentId
- container idattachmentId
- attachment idlimit
- the maximize extracted text want to get- Returns:
- attachment extracted text
- Throws:
ServiceException
-
hasExtractedText
- Parameters:
contentId
- container idattachmentId
- attachment id- Returns:
- if attachment has extracted text (supported and already extracted)
- Throws:
ServiceException
-