Interface AttachmentExtractedTextManager
- All Known Implementing Classes:
DefaultAttachmentExtractedTextManager
@Internal
public interface AttachmentExtractedTextManager
- Since:
- 6.5
-
Method Summary
Modifier and TypeMethodDescriptiongetContent(Attachment attachment) Returns anOptionaldescribing theInputStreamSourceof extracted text of the provided attachment version if it is available, or an emptyOptionalotherwise.voidremoveContent(Attachment attachment) Remove extracted text of the specified attachment version.voidremovePreviousVersionContent(Attachment attachment) Remove extracted text of the previous version of the specified attachment version if it exists.voidsaveContent(Attachment attachment, InputStreamSource content) Saves a stream of data as the extracted text of the provided attachment version.
-
Method Details
-
getContent
Returns anOptionaldescribing theInputStreamSourceof extracted text of the provided attachment version if it is available, or an emptyOptionalotherwise. -
saveContent
Saves a stream of data as the extracted text of the provided attachment version. -
removePreviousVersionContent
Remove extracted text of the previous version of the specified attachment version if it exists. -
removeContent
Remove extracted text of the specified attachment version.
-